mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-12-22 14:19:48 +01:00
48 lines
825 B
Markdown
48 lines
825 B
Markdown
# hyprpicker
|
|
|
|
A wlroots-compatible Wayland color picker that does not suck.
|
|
|
|
![hyprpickerShort](https://user-images.githubusercontent.com/43317083/188224867-7d77a3b3-0a66-488c-8019-39b00060ab42.gif)
|
|
|
|
# Usage
|
|
|
|
Launch it. Click. That's it.
|
|
|
|
## Options
|
|
|
|
See `hyprpicker --help`.
|
|
|
|
# Building
|
|
|
|
## Arch
|
|
|
|
`yay -S hyprpicker-git`
|
|
|
|
## Manual
|
|
|
|
Install dependencies:
|
|
- cmake
|
|
- pkg-config
|
|
- pango
|
|
- cairo
|
|
- wayland
|
|
- wayland-protocols
|
|
- hyprutils
|
|
- xkbcommon
|
|
|
|
Building is done via CMake:
|
|
|
|
```sh
|
|
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:
|
|
|
|
```sh
|
|
cmake --install ./build
|
|
```
|
|
|
|
# Caveats
|
|
|
|
"Freezes" your displays when picking the color.
|