projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9747f63
)
sway: fix grim invocation for region-select screenshots
author
Amin Bandali
<bandali@gnu.org>
Mon, 20 May 2019 03:37:44 +0000
(23:37 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Mon, 20 May 2019 03:37:44 +0000
(23:37 -0400)
.config/sway/config
patch
|
blob
|
blame
|
history
diff --git
a/.config/sway/config
b/.config/sway/config
index
94e7cd7
..
dded332
100644
(file)
--- 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
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
bindsym Escape mode default
bindsym q mode default