diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-03-30 18:24:53 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-03-30 18:24:53 +0200 |
commit | 64505cb43ca8faa9141aef7ed7d406bb54ad97be (patch) | |
tree | 6a9ceac352adf85a007a34291b96b1e5ea54e252 | |
parent | a99e115c7edf525181fc9dc6e2e05ef27c817ffd (diff) | |
download | dotfiles-64505cb43ca8faa9141aef7ed7d406bb54ad97be.tar.gz |
sway screenshot
-rw-r--r-- | doc/sway.md | 9 | ||||
-rw-r--r-- | sway/config.d/40-sway-shortcuts.conf | 3 |
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%- |