2022-09-02 18:06:00 +02:00
|
|
|
# hyprpicker
|
|
|
|
|
|
|
|
A wlroots-compatible Wayland color picker that does not suck.
|
|
|
|
|
2022-09-02 21:36:28 +02:00
|
|
|
![hyprpickerShort](https://user-images.githubusercontent.com/43317083/188224867-7d77a3b3-0a66-488c-8019-39b00060ab42.gif)
|
2022-09-02 18:07:53 +02:00
|
|
|
|
2022-09-02 18:06:00 +02:00
|
|
|
# Usage
|
|
|
|
|
2022-09-02 19:42:07 +02:00
|
|
|
Launch it. Click. That's it.
|
2022-09-02 18:06:00 +02:00
|
|
|
|
2022-09-02 20:44:42 +02:00
|
|
|
## Options
|
|
|
|
|
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 18:02:11 +01:00
|
|
|
`-f | --format=[fmt]` specifies the output format (`cmyk`, `hex`, `rgb`, `hsl`, `hsv`)
|
2022-09-02 20:44:42 +02:00
|
|
|
|
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 18:02:11 +01:00
|
|
|
`-n | --no-fancy` disables the "fancy" (aka. colored) outputting
|
|
|
|
|
|
|
|
`-h | --help` prints a help message
|
2022-09-02 21:15:22 +02:00
|
|
|
|
2022-11-19 20:35:37 +01:00
|
|
|
`-a | --autocopy` automatically copies the output to the clipboard (requires [wl-clipboard](https://github.com/bugaevc/wl-clipboard))
|
2022-11-19 15:53:05 +01:00
|
|
|
|
2022-09-02 18:06:00 +02:00
|
|
|
# Building
|
|
|
|
|
2022-09-03 15:58:42 +02:00
|
|
|
## Arch
|
2022-09-03 15:59:17 +02:00
|
|
|
`yay -S hyprpicker-git`
|
2022-09-02 19:42:07 +02:00
|
|
|
|
2022-09-03 15:58:42 +02:00
|
|
|
## Manual
|
2022-09-02 18:06:00 +02:00
|
|
|
`make all`
|
|
|
|
|
2022-09-02 18:07:53 +02:00
|
|
|
the output binary is in `./build/hyprpicker`
|
2022-09-02 18:15:51 +02:00
|
|
|
|
|
|
|
# Caveats
|
|
|
|
|
|
|
|
"Freezes" your displays when picking the color.
|