Sway : Add selection screenshot.
This commit is contained in:
parent
471d471e02
commit
30122e78d7
|
@ -21,7 +21,7 @@ font=Terminess Nerd Font Mono:size=14
|
|||
# underline-thickness=<font underline thickness>
|
||||
# box-drawings-uses-font-glyphs=no
|
||||
dpi-aware=yes
|
||||
overflowing-glyphs=yes
|
||||
# overflowing-glyphs=yes
|
||||
|
||||
# initial-window-size-pixels=700x500 # Or,
|
||||
# initial-window-size-chars=<COLSxROWS>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Fullscreen screenshot.
|
||||
bindsym $mod+shift+v grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy -t image/png
|
||||
bindsym $mod+shift+v exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy -t image/png
|
||||
|
||||
# Select screenshot.
|
||||
# bindsym $mod+v # TODO: Add selectable screenshot.
|
||||
bindsym $mod+v exec grim -g "$(slurp -d)" - | wl-copy
|
||||
|
|
Loading…
Reference in a new issue