summaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-05-19 23:37:44 -0400
committerAmin Bandali <bandali@gnu.org>2019-05-19 23:37:44 -0400
commitdd00d00389bf5806b38315cdab2c49680a7d4f32 (patch)
tree63603b3072d8710f61d853143e07dc2caa83225f /.config/sway/config
parent9747f63fbd6a22f5149f4a7035ac09804001e9ac (diff)
downloadconfigs-dd00d00389bf5806b38315cdab2c49680a7d4f32.tar.gz
configs-dd00d00389bf5806b38315cdab2c49680a7d4f32.tar.xz
configs-dd00d00389bf5806b38315cdab2c49680a7d4f32.zip
sway: fix grim invocation for region-select screenshots
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config2
1 files changed, 1 insertions, 1 deletions
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