sway: replace swappy with satty

This commit is contained in:
Leonardo Eugênio 2024-08-09 01:41:01 -03:00
parent 5e4c04502d
commit 6237543c62
2 changed files with 5 additions and 2 deletions

View file

@ -145,7 +145,8 @@ in
wl-crosshair wl-crosshair
grim grim
swappy satty
xdg-user-dirs
(tesseract5.override { (tesseract5.override {
enableLanguages = [ enableLanguages = [
"eng" "eng"

View file

@ -170,7 +170,9 @@ let
"${mod}+c" = "exec ${pkgs.color_picker}/bin/color_picker"; "${mod}+c" = "exec ${pkgs.color_picker}/bin/color_picker";
"${mod}+Return" = "exec ${terminal}"; "${mod}+Return" = "exec ${terminal}";
"${mod}+Ctrl+Return" = "exec thunar"; "${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}+Ctrl+v" = "exec wl-paste | tesseract -l por - - | wl-copy";
"${mod}+k" = "exec showkeys"; "${mod}+k" = "exec showkeys";
"${mod}+Alt+x" = "exec pkill wl-crosshair || exec wl-crosshair"; "${mod}+Alt+x" = "exec pkill wl-crosshair || exec wl-crosshair";