diff --git a/home-profiles/desktop/.config/sway/common b/home-profiles/desktop/.config/sway/common index 543e5601c93827ca1a0a171bc04b498c2ad93be5..44e09a2fe6e1ac4bfca1118a2883378b68922256 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"