From e4ce0dfb929106c8d5ab325e429a69078456aa13 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 4 Dec 2023 15:53:28 +0100 Subject: sway: Fix screenshot key bindings to work properly Signed-off-by: David Runge --- .config/sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index b530250..7fafa9f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -61,10 +61,10 @@ bindsym $mod+Ctrl+r reload bindsym $mod+Ctrl+s exec "setsid -f waylock" # screenshot -bindsym $mod+Ctrl+u exec "grim ~/cloud/photos/screenshots/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png" +bindsym $mod+Ctrl+u exec grim ~/cloud/photos/screenshots/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png # selection screenshot -bindsym $mod+Ctrl+i exec grim -g "$(slurp)" ~/cloud/photos/screenshots/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png +bindsym $mod+Ctrl+i exec grim -g "$(slurp)" ~/cloud/photos/screenshots/screenshot-"$(date +'%Y-%m-%d_%H-%M-%S')".png # exit sway bindsym $mod+Ctrl+e exit -- cgit v1.2.3-70-g09d2