Archived
1
0
Fork 0

sway: Add keybind for screenshotting using grim + slurp

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2022-12-28 22:06:43 +01:00
parent a76bae98a0
commit 692c64f769
Signed by: c8h4
GPG key ID: 9C82009BEEDEA0FF

View file

@ -8,6 +8,7 @@ set $term alacritty
set $menu wofi --show drun --insensitive | xargs swaymsg exec --
set $lock swaylock
set $exit swaynag -t warning -m 'Exit sway?' -B 'Yes, exit' 'swaymsg exit'
set $screenshot grim -g "$(slurp)"
set $vienna_lat 48.2
set $vienna_long 16.4
@ -47,6 +48,7 @@ default_border none
bindsym $mod+Return exec $term
bindsym $mod+u exec $menu
bindsym $mod+l exec $lock
bindsym $mod+c exec $screenshot
bindsym $mod+Shift+e exec $exit
# Kill focused window
bindsym $mod+Shift+q kill