Add screenshot and color picker for sway
This commit is contained in:
parent
037a3988fc
commit
974c0c0a39
13 changed files with 114 additions and 78 deletions
sway/config.d
6
sway/config.d/misc
Normal file
6
sway/config.d/misc
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Use clipman for the clipboard manager
|
||||
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'"
|
Loading…
Add table
Add a link
Reference in a new issue