aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/sway.md9
-rw-r--r--sway/config.d/40-sway-shortcuts.conf3
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/sway.md b/doc/sway.md
new file mode 100644
index 0000000..befb432
--- /dev/null
+++ b/doc/sway.md
@@ -0,0 +1,9 @@
+# Sway
+
+## Screenshot
+
+`/usr/share/sway/scripts/grimshot copy area`
+
+Packages:
+
+`slurp` `grim` `wl-clipboard`
diff --git a/sway/config.d/40-sway-shortcuts.conf b/sway/config.d/40-sway-shortcuts.conf
index 3901cd2..eec1b59 100644
--- a/sway/config.d/40-sway-shortcuts.conf
+++ b/sway/config.d/40-sway-shortcuts.conf
@@ -4,5 +4,8 @@ bindsym $mod+Shift+e exec "sh -c 'rofi-exit-menu.sh $(rofi-exit-menu.sh | bemenu
bindsym $mod+Shift+w exec "swaylock --color 000000FF"
+# see doc for required packages
+bindsym $mod+p exec "/usr/share/sway/scripts/grimshot copy area"
+
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 5%-