aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/sway/bindsym-system11
m---------private0
2 files changed, 11 insertions, 0 deletions
diff --git a/config/sway/bindsym-system b/config/sway/bindsym-system
index 96c8c0a..7afcb4c 100644
--- a/config/sway/bindsym-system
+++ b/config/sway/bindsym-system
@@ -11,3 +11,14 @@ mode "$mode_system" {
bindsym Escape mode "default"
}
bindsym $mod+Shift+q mode "$mode_system"
+
+
+set $screenshot Screenshot: (s)elect 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 Return mode "default"
+ bindsym Escape mode "default"
+}
+bindsym $mod+Shift+s mode "$screenshot"
diff --git a/private b/private
-Subproject d708dfa488157393775bbab4bcf0a183b63a52d
+Subproject f4ed914611a53b8ea90827df2b9ba52c5d30e39