commit 237e0680f1135f0523fef46b080ec150c4ea7eee parent 4d4882b0d3bf4689a5eb479ffc84c97c5fdd6ad6 Author: Gabriel G. de Brito <me@gboncoffee.dev.br> Date: Thu, 17 Jul 2025 19:05:58 -0300 screenshot with slurp Diffstat:
| M | sway/config | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sway/config b/sway/config @@ -127,7 +127,8 @@ bindsym --locked XF86AudioMute exec ~/.config/sway/audio.sh mute bindsym --locked XF86AudioLowerVolume exec ~/.config/sway/audio.sh decrease bindsym --locked XF86AudioRaiseVolume exec ~/.config/sway/audio.sh increase -bindsym Print exec grim ~/desktop/$(date -Iseconds).png; exec notify-send "Screenshot taken" +bindsym Print exec grim - | tee ~/desktop/$(date -Iseconds).png | wl-copy && notify-send "Screenshot taken" +bindsym Shift+Print exec slurp | grim -g - - | tee ~/desktop/$(date -Iseconds).png | wl-copy && notify-send "Screenshot taken" font pango:sans 12