aboutsummaryrefslogtreecommitdiff
path: root/config/sway/bindsym-system
diff options
context:
space:
mode:
Diffstat (limited to 'config/sway/bindsym-system')
-rw-r--r--config/sway/bindsym-system8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/sway/bindsym-system b/config/sway/bindsym-system
index 7afcb4c..79094be 100644
--- a/config/sway/bindsym-system
+++ b/config/sway/bindsym-system
@@ -13,10 +13,12 @@ mode "$mode_system" {
bindsym $mod+Shift+q mode "$mode_system"
-set $screenshot Screenshot: (s)elect or (d)desktop
+set $screenshot Screenshot: (s)elect or (w)indow or (o)tput or (d)desktop
mode "$screenshot" {
- bindsym --release d exec --no-startup-id grim, mode "default"
- bindsym --release s exec --no-startup-id sh -c "slurp | grim -g -", mode "default"
+ bindsym --locked s exec --no-startup-id ~/.config/sway/scripts/screenshot select, mode "default"
+ bindsym --locked w exec --no-startup-id ~/.config/sway/scripts/screenshot window, mode "default"
+ bindsym --locked o exec --no-startup-id ~/.config/sway/scripts/screenshot output, mode "default"
+ bindsym --locked d exec --no-startup-id ~/.config/sway/scripts/screenshot desktop, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"