A read-only mirror of https://github.com/hyprwm/hyprpicker
Find a file
2024-08-22 14:26:50 +03: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 Nix: makeover 2024-07-18 21:01:51 +03:00
protocols initial commit 2022-09-02 18:06:00 +02:00
src events: use enter coords 2024-08-06 17:10:40 +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 CMake: ensure the manpage location is correct (#86) 2024-08-22 14:26:50 +03:00
flake.lock Nix: makeover 2024-07-18 21:01:51 +03:00
flake.nix Nix: makeover 2024-07-18 21:01:51 +03:00
LICENSE Initial commit 2022-09-02 18:04:12 +02:00
README.md core: migrate to hyprutils for utils 2024-07-17 17:08:10 +02:00
VERSION CMake, Nix: add VERSION file 2024-07-18 20:52:42 +03:00

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

Install dependencies:

  • cmake
  • pkg-config
  • pango
  • cairo
  • wayland
  • wayland-protocols
  • hyprutils
  • xkbcommon

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.