Update sway screenshots

This commit is contained in:
askiiart 2024-02-16 18:42:24 -06:00
parent 5c818c99b3
commit 7ed1d9cfb3
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67

View file

@ -2,8 +2,9 @@
exec wl-paste -t text --watch clipman store --no-persist exec wl-paste -t text --watch clipman store --no-persist
# Add screenshot and color picker # Add screenshot and color picker
bindsym Print exec grim #bindsym Print exec grim -t png -c
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 "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" # gentoo wiki "More reasonable floating windows"
for_window [window_role = "pop-up"] floating enable for_window [window_role = "pop-up"] floating enable