hyprpicker/README.md
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

33 lines
744 B
Markdown

# hyprpicker
A wlroots-compatible Wayland color picker that does not suck.
![hyprpickerShort](https://user-images.githubusercontent.com/43317083/188224867-7d77a3b3-0a66-488c-8019-39b00060ab42.gif)
# 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](https://github.com/bugaevc/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.