screenshot shortcuts

This commit is contained in:
Ivan Dimitrov 2023-07-03 22:05:36 +03:00
parent 1b8dc65cf3
commit 80ae559fbf

View File

@ -26,6 +26,10 @@ output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_19
# Reload the configuration file
bindsym $mod+Shift+r reload
# Take screenshot of area and screen respectively
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
bindsym $mod+Shift+a exec grim - | wl-copy
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+q exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#