A read-only mirror of https://github.com/hyprwm/hyprpicker
Go to file
Mihai Fufezan 0eb49192a5
Nix: override wayland-protocols until merged
Fix include

Ref: https://nixpk.gs/pr-tracker.html?pr=297606
2024-03-24 14:24:36 +02:00
.github/workflows CI: update nix install action 2023-05-03 23:40:19 +03:00
doc Document the --autocopy flag (#15) 2022-11-20 10:37:39 +00:00
nix Makefile: remove 2024-03-12 22:16:45 +02:00
protocols initial commit 2022-09-02 18:06:00 +02:00
src Nix: override wayland-protocols until merged 2024-03-24 14:24:36 +02:00
.clang-format clang-format, no-zoom and render-inactive 2023-03-31 17:41:40 +01:00
.gitignore initial commit 2022-09-02 18:06:00 +02:00
CMakeLists.txt core: switch to server-side cursors 2024-03-23 20:54:29 +00:00
LICENSE Initial commit 2022-09-02 18:04:12 +02:00
README.md Makefile: remove 2024-03-12 22:16:45 +02:00
flake.lock flake.lock: update nixpkgs 2023-05-16 22:27:51 +03:00
flake.nix Nix: override wayland-protocols until merged 2024-03-24 14:24:36 +02:00

README.md

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

-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

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.