From 6953e4f8a27a785686ca686fd23617a3bc9a16a8 Mon Sep 17 00:00:00 2001 From: KK Date: Thu, 2 Jul 2026 22:44:01 +0200 Subject: [PATCH] Store screenshots in Pictures --- .config/sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 891acd9..fa2df73 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -232,8 +232,8 @@ bindsym $mod+r mode "resize" bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-; pkill -USR1 -f "$HOME/.config/sway/status.sh" bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+; pkill -USR1 -f "$HOME/.config/sway/status.sh" # Special key to take a screenshot with grim - bindsym Print exec sh -c 'mkdir -p ~/screenshots; f=~/screenshots/$(date +%F-%H%M%S).png; grim "$f"; wl-copy < "$f"' - bindsym Shift+Print exec sh -c 'mkdir -p ~/screenshots; f=~/screenshots/$(date +%F-%H%M%S).png; grim -g "$(slurp)" "$f"; wl-copy < "$f"' + bindsym Print exec sh -c 'mkdir -p ~/screenshots; f=~/Pictures/$(date +%F-%H%M%S).png; grim "$f"; wl-copy < "$f"' + bindsym Shift+Print exec sh -c 'mkdir -p ~/screenshots; f=~/Pictures/$(date +%F-%H%M%S).png; grim -g "$(slurp)" "$f"; wl-copy < "$f"' # Push-to-talk: hold Caps Lock to record, release to transcribe. # xkb_options caps:none above disables the normal Caps Lock toggle, so bind by keycode.