mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-12-22 06:09:48 +01:00
A read-only mirror of https://github.com/hyprwm/hyprpicker
aa3c2acd59
Hyprpicker stopped working after running several times when started with option '-a'. The reason was that finish() has not been called after wl-copy replaced the currently running process due to the call of execlp() (execlp() never returns in that case). To fix this issue finish now is called before the call of execlp() when hyprpicker is running with option '-a' Co-authored-by: Stefan Römer <sroemer@github.com> |
||
---|---|---|
.github/workflows | ||
doc | ||
nix | ||
protocols | ||
src | ||
.gitignore | ||
CMakeLists.txt | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
Makefile | ||
README.md |
hyprpicker
A wlroots-compatible Wayland color picker that does not suck.
Usage
Launch it. Click. That's it.
Options
-f | --format=[fmt]
specifies the output format (cmyk
, hex
, rgb
, hsl
, hsv
)
-n | --no-fancy
disables the "fancy" (aka. colored) outputting
-h | --help
prints a help message
-a | --autocopy
automatically copies the output to the clipboard (requires wl-clipboard)
Building
Arch
yay -S hyprpicker-git
Manual
make all
the output binary is in ./build/hyprpicker
Caveats
"Freezes" your displays when picking the color.