[sway] add screen capture
This commit is contained in:
parent
419454433b
commit
dcfc30a561
1 changed files with 13 additions and 0 deletions
|
@ -160,6 +160,19 @@ mode "present" {
|
||||||
}
|
}
|
||||||
bindsym $mod+p 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) #
|
# Keyboard Shortcuts (Workspaces) #
|
||||||
#=================================#
|
#=================================#
|
||||||
|
|
Loading…
Reference in a new issue