A read-only mirror of https://github.com/hyprwm/hyprpicker
Go to file
Vaxry c9238d39f6
core: move to hyprwayland-scanner (#88)
* core: move to hyprwayland-scanner

* Nix: add hw-s, bump flake

* CMake: fix wl-client -> wl-scanner

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-09-26 12:58:43 +01: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 core: move to hyprwayland-scanner (#88) 2024-09-26 12:58:43 +01:00
protocols initial commit 2022-09-02 18:06:00 +02:00
src core: move to hyprwayland-scanner (#88) 2024-09-26 12:58:43 +01:00
.clang-format clang-format, no-zoom and render-inactive 2023-03-31 17:41:40 +01:00
.gitignore core: move to hyprwayland-scanner (#88) 2024-09-26 12:58:43 +01:00
CMakeLists.txt core: move to hyprwayland-scanner (#88) 2024-09-26 12:58:43 +01: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
flake.lock core: move to hyprwayland-scanner (#88) 2024-09-26 12:58:43 +01:00
flake.nix core: move to hyprwayland-scanner (#88) 2024-09-26 12:58:43 +01: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

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.