From dd00d00389bf5806b38315cdab2c49680a7d4f32 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 19 May 2019 23:37:44 -0400 Subject: sway: fix grim invocation for region-select screenshots --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/sway/config') diff --git a/.config/sway/config b/.config/sway/config index 94e7cd7..dded332 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -273,7 +273,7 @@ mode notifications { set $mode_screenshot (a)ll | (r)egion mode "$mode_screenshot" { bindsym a exec grim $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default - bindsym r exec slurp | grim -g - $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default + bindsym r exec grim -g "$(slurp)" $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default bindsym Escape mode default bindsym q mode default -- cgit v1.2.3-60-g2f50