diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-04-26 20:16:24 -0400 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-04-26 20:16:24 -0400 |
| commit | 9a27d0876b0ebbceaa86053d4bf0997ccf27c47a (patch) | |
| tree | a32386f9a2b18c9607f3e878c92ceac7d2dbcdc2 /modules/user | |
| parent | b0d0bce5fe5be94ce7b7492f51b12de56a457d36 (diff) | |
tweak menu appearance
Diffstat (limited to 'modules/user')
| -rw-r--r-- | modules/user/desktop/sessions/sway.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/desktop/sessions/sway.nix b/modules/user/desktop/sessions/sway.nix index b60e5c3..3684853 100644 --- a/modules/user/desktop/sessions/sway.nix +++ b/modules/user/desktop/sessions/sway.nix @@ -161,11 +161,11 @@ "${mod}+R" = "exec ${launcher}"; "${mod}+B" = "exec ${pkgs.librewolf}/bin/librewolf"; "${mod}+Shift+S" = "exec ${(pkgs.writeShellScript "screenshot" '' - screenshot_type=$(printf 'monitor\nregion' | ${launcher} --prompt='What would you like to screenshot? ' --dmenu --minimal-lines --width=34) + screenshot_type=$(printf 'monitor\nregion' | ${launcher} --mesg='What would you like to screenshot?' --hide-prompt --dmenu --minimal-lines --width=34) screenshot_filename=$(date +'%F_%H.%M.%S.png') send_notif() { - ${pkgs.libnotify}/bin/notify-send -u low -t 1000 "Screenshot taken" "Screenshot saved as $screenshot_filename" + ${pkgs.libnotify}/bin/notify-send -u low "Screenshot taken" "Screenshot saved as $screenshot_filename" } case $screenshot_type in |
