Files
cheatsheet-tldr/tldr/linux/hyprpicker
2025-10-30 00:20:37 +00:00

35 lines
809 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# hyprpicker
> Minimal Wayland color picker for wlroots compositors (e.g., Hyprland).
> Requires a Wayland session. For clipboard autocopy, `wl-copy` must be installed.
> More information: <https://wiki.hypr.land/Hypr-Ecosystem/hyprpicker/>.
- Pick a color in the default (hex) format:
`hyprpicker`
- Pick a color and output in a specific format:
`hyprpicker {{[-f|--format]}} {{hex|rgb|hsl|hsv|cmyk}}`
- Copy the picked color to the clipboard:
`hyprpicker {{[-a|--autocopy]}}`
- Disable colored output (print plain text only):
`hyprpicker {{[-n|--no-fancy]}}`
- Store the picked color in a shell variable:
`{{color}}=$(hyprpicker {{[-f|--format]}} {{hex}})`
- Display help:
`hyprpicker {{[-h|--help]}}`