Skip to content

A wayland color picker that also works on wlroots

License

Notifications You must be signed in to change notification settings

Deraen/wl-color-picker

 
 

Repository files navigation

wl-color-picker

A script that provides a working color picker for wayland and wlroots by leveraging grim and slurp.

Usage

  • Command wl-color-picker - Select position on screen and open color picker window
  • Command wl-color-picker clipboard - Select position on screen without opening color picker window, just copy selected color to clipboard

Inspiration

This script is possible by the information provided on the following sites:

Artwork

The icon was taken from the gcolor3 icon shipped with the papirus icon theme, so all credits go to the papirus icon designers.

Dependencies

  • slurp - provides the screen location picker
  • grim - uses the location provided by slurp and generates a pixel
  • convert - uitlity from imagemagick to make the pixel a hex number (graphicsmagick is also supported)
  • zenity - display a nice color selector dialog where the picked color can be tweaked further
  • wl-copy - copy the selected color to the clipboard

Packages

ArchLinux - install from AUR

yay -S wl-color-picker

About

A wayland color picker that also works on wlroots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 51.4%
  • Makefile 48.6%