mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-12-21 21:59:48 +01:00
A read-only mirror of https://github.com/hyprwm/hyprpicker
8791f717ef
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com> |
||
---|---|---|
.github/workflows | ||
doc | ||
nix | ||
protocols | ||
src | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
hyprpicker
A wlroots-compatible Wayland color picker that does not suck.
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)
-r | --render-inactive
render (freeze) inactive displays too
-z | --no-zoom
disable the zoom lens
Building
Arch
yay -S hyprpicker-git
Manual
Install build dependencies (Debian):
apt install --no-install-recommends -y cmake g++ make pkg-config libpango1.0-dev libjpeg-dev libwayland-dev wayland-protocols libxkbcommon-dev
Building is done via CMake:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target hyprpicker -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
Install with:
cmake --install ./build
Caveats
"Freezes" your displays when picking the color.