sway: Add keybind for screenshotting using grim + slurp
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
a76bae98a0
commit
692c64f769
|
@ -8,6 +8,7 @@ set $term alacritty
|
||||||
set $menu wofi --show drun --insensitive | xargs swaymsg exec --
|
set $menu wofi --show drun --insensitive | xargs swaymsg exec --
|
||||||
set $lock swaylock
|
set $lock swaylock
|
||||||
set $exit swaynag -t warning -m 'Exit sway?' -B 'Yes, exit' 'swaymsg exit'
|
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_lat 48.2
|
||||||
set $vienna_long 16.4
|
set $vienna_long 16.4
|
||||||
|
@ -47,6 +48,7 @@ default_border none
|
||||||
bindsym $mod+Return exec $term
|
bindsym $mod+Return exec $term
|
||||||
bindsym $mod+u exec $menu
|
bindsym $mod+u exec $menu
|
||||||
bindsym $mod+l exec $lock
|
bindsym $mod+l exec $lock
|
||||||
|
bindsym $mod+c exec $screenshot
|
||||||
bindsym $mod+Shift+e exec $exit
|
bindsym $mod+Shift+e exec $exit
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
Reference in a new issue