mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-11-17 00:25:57 +01:00
7d2db8b232
* 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
33 lines
744 B
Markdown
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.
|