summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config
index d7da3d2..ccf1455 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -122,6 +122,15 @@ mouse_warping none
bindsym Shift+XF86AudioRaiseVolume exec amixer set Master 1%+
#
+# Screenshot
+#
+
+ set $print_key F13
+ set $print_code 183
+ bindcode $print_code exec grim
+ bindcode $mod+$print_code exec grim -g "$(slurp)"
+
+#
# Moving around:
#
# Move your focus around