From 80ae559fbf48405f3dd65808d11c23e9bc571fda Mon Sep 17 00:00:00 2001 From: Ivan Dimitrov Date: Mon, 3 Jul 2023 22:05:36 +0300 Subject: [PATCH] screenshot shortcuts --- cfg/sway/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cfg/sway/config b/cfg/sway/config index f2134dc..307fa47 100644 --- a/cfg/sway/config +++ b/cfg/sway/config @@ -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' #