A read-only mirror of https://github.com/hyprwm/hyprpicker
Find a file
Thomas Voss 7d2db8b232
Support HSL, HSV, CMYK, short options, minor I/O fix, and add a manual page (#12)
* use getopt_long(3) and support short options

Now instead of `--format`, `--no-fancy`, and `--help` you can also use
`-f`, `-n`, and `-h`.  Additionally instead of just being able to do
`--format <fmt>` you can now do the standard `--format=<fmt>`.

* remove initial space when m_bFancyOutput is true

* add the HSL format

* add the HSV format

* add a manual page

* silence compiler warning

* make all the default target, and add install rule

* add the CMYK format

* add new formats to the README
2022-11-19 17:02:11 +00:00
.github/workflows Workflows: add Nix CI 2022-09-02 21:38:14 +03:00
doc Support HSL, HSV, CMYK, short options, minor I/O fix, and add a manual page (#12) 2022-11-19 17:02:11 +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 Support HSL, HSV, CMYK, short options, minor I/O fix, and add a manual page (#12) 2022-11-19 17:02:11 +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 Support HSL, HSV, CMYK, short options, minor I/O fix, and add a manual page (#12) 2022-11-19 17:02:11 +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

--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.