From 870ea12c16d5b4e14dba22565d1085e98cb077dc Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 25 Dec 2023 16:41:43 +0100 Subject: sway: Ensure that screenshot commands work 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 e0142d8..b530250 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