Update sway screenshots
This commit is contained in:
parent
5c818c99b3
commit
7ed1d9cfb3
1 changed files with 3 additions and 2 deletions
|
@ -2,8 +2,9 @@
|
|||
exec wl-paste -t text --watch clipman store --no-persist
|
||||
|
||||
# Add screenshot and color picker
|
||||
bindsym Print exec grim
|
||||
bindsym Mod1+Print exec "slurp -p | xargs -I % grim -g % -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:- | tail --lines 1 | xargs -I % zenity --info --text=% --title='Color picker'"
|
||||
#bindsym Print exec grim -t png -c
|
||||
bindsym Print exec "slurp -d | xargs -I % grim -g % -t png -c && wl-copy --type image/png < $(ls ~/Pictures/*_grim.png | tail --lines 1)"
|
||||
bindsym Mod1+Print exec "slurp -p | xargs -I % grim -g % -t png - | convert - -format '%[pixel:p{0,0}]' txt:- | tail --lines 1 | xargs -I % zenity --info --text=% --title='Color picker'"
|
||||
|
||||
# gentoo wiki "More reasonable floating windows"
|
||||
for_window [window_role = "pop-up"] floating enable
|
||||
|
|
Loading…
Reference in a new issue