X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/318aaea93157046b868008b6bbf65afaca2de01d..b99010747f3f4ab1421cedb7fc77f81db44a8856:/.config/sway/config?ds=sidebyside 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