From 22fb93f1f4d9e16af787e0f5b81fd9c00237b228 Mon Sep 17 00:00:00 2001 From: Jens Nolte <git@queezle.net> Date: Sun, 8 Aug 2021 18:33:29 +0200 Subject: [PATCH] Add screenshot shortcuts --- home-profiles/desktop/.config/sway/common | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-profiles/desktop/.config/sway/common b/home-profiles/desktop/.config/sway/common index 543e560..44e09a2 100644 --- a/home-profiles/desktop/.config/sway/common +++ b/home-profiles/desktop/.config/sway/common @@ -116,6 +116,10 @@ bindsym Shift+Print exec swaylock -c 00000000 #bindsym Shift+Print exec --no-startup-id ~/run/lock/winlock #bindsym Ctrl+Print exec --no-startup-id ~/run/lock/blurlock +# screenshot +bindsym Ctrl+Print exec grim -g "$(slurp -o)" +bindsym Ctrl+Shift+Print exec grim -g "$(slurp)" + # suspend bindsym $mod+Print exec systemctl suspend exec swayidle -w before-sleep "swaylock -f -i $lockscreen" -- GitLab