wcolor
WORK IN PROGRESS!
Simple color picker for Wayland. Pick any color on the screen using the mouse. This is basically the Wayland aquivalent to xcolor.
Usage
Run wcolor
and select a color. Its hexadecimal RGB representation will be
printed to standard output.
Screenshot
Setup
zig build
zig build run
References
- https://github.com/ifreund/zig-wayland
- https://github.com/Soft/xcolor (the X11 version)
- https://github.com/emersion/grim
- https://github.com/emersion/slurp (consulting the source of grim and slurp helped a lot in understanding Wayland)