A read-only mirror of https://github.com/hyprwm/hyprpicker
Find a file
Stefan Römer aa3c2acd59
fix issue #17: hyprpicker stops working after a couple of uses (#18)
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>
2022-12-17 22:56:45 +00:00
.github/workflows Workflows: add Nix CI 2022-09-02 21:38:14 +03:00
doc Document the --autocopy flag (#15) 2022-11-20 10:37:39 +00:00
nix Nix flake: init 2022-09-02 21:38:14 +03:00
protocols initial commit 2022-09-02 18:06:00 +02:00
src fix issue #17: hyprpicker stops working after a couple of uses (#18) 2022-12-17 22:56:45 +00:00
.gitignore initial commit 2022-09-02 18:06:00 +02:00
CMakeLists.txt suppress pointer arith warnings 2022-09-02 21:26:33 +02:00
flake.lock Nix flake: init 2022-09-02 21:38:14 +03:00
flake.nix Nix flake: init 2022-09-02 21:38:14 +03:00
LICENSE Initial commit 2022-09-02 18:04:12 +02:00
Makefile Support HSL, HSV, CMYK, short options, minor I/O fix, and add a manual page (#12) 2022-11-19 17:02:11 +00:00
README.md Add autocopy support for HSL, HSV, CMYK (#14) 2022-11-19 19:35:37 +00:00

hyprpicker

A wlroots-compatible Wayland color picker that does not suck.

hyprpickerShort

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.