From 64505cb43ca8faa9141aef7ed7d406bb54ad97be Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 30 Mar 2023 18:24:53 +0200 Subject: sway screenshot --- doc/sway.md | 9 +++++++++ sway/config.d/40-sway-shortcuts.conf | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 doc/sway.md 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%- -- cgit v1.2.3