diff --git a/user/sway/default.nix b/user/sway/default.nix index 9fcf2a0..6b495d2 100644 --- a/user/sway/default.nix +++ b/user/sway/default.nix @@ -145,7 +145,8 @@ in wl-crosshair grim - swappy + satty + xdg-user-dirs (tesseract5.override { enableLanguages = [ "eng" diff --git a/user/sway/sway-binds.nix b/user/sway/sway-binds.nix index 7b33cd0..cd0ac9a 100644 --- a/user/sway/sway-binds.nix +++ b/user/sway/sway-binds.nix @@ -170,7 +170,9 @@ let "${mod}+c" = "exec ${pkgs.color_picker}/bin/color_picker"; "${mod}+Return" = "exec ${terminal}"; "${mod}+Ctrl+Return" = "exec thunar"; - "${mod}+Shift+s" = "exec grim - | swappy -f -"; + "${mod}+Shift+s" = '' + exec grim - | satty --filename - --fullscreen --output-filename "$(xdg-user-dir PICTURES)"/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png + ''; "${mod}+Ctrl+v" = "exec wl-paste | tesseract -l por - - | wl-copy"; "${mod}+k" = "exec showkeys"; "${mod}+Alt+x" = "exec pkill wl-crosshair || exec wl-crosshair";