diff --git a/.config/sway/config b/.config/sway/config index 6608f80..e0c5c17 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -160,6 +160,19 @@ mode "present" { } bindsym $mod+p mode "present" +#========================# +# Screen capture # +#========================# + +# save screen to ~/Pictures +bindsym Print exec grim +# save a region to ~/Pictures +bindsym Shift+Print exec grim -g "$(slurp)" +# send screen to clipboard +bindsym Ctrl+Print exec grim - | wl-copy +# send a region to clipboard +bindsym Ctrl+Shift+Print exec grim -g "$(slurp)" - | wl-copy + #=================================# # Keyboard Shortcuts (Workspaces) # #=================================#