HYPRPICKER(1)

πŸ“¦
version 0.4.8 Β· 3 versions
, in arch rolling, nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ’– HYPRPICKER(1) πŸ’–

okay bestie, so the manual name is hyprpicker and it lives in the General Commands Manual section, and it is genuinely one of the cutest little utilities ever. let's get into it πŸŽ€


✨ NAME ✨

hyprpicker β€” the wlroots-compatible wayland color picker, aka your new obsession πŸ’…


🌈 SYNOPSIS 🌈

hyprpicker [-acnh] [-f fmt]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, hyprpicker is a color-picker that supports a bunch of different output formats. the way it works is: when you run hyprpicker, your cursor literally transforms into a magnifying lens (main character energy fr fr πŸ”), and when you click on any pixel of the screen it prints that pixel's color to the standard output. that's it, that's the whole vibe.

the default output format is hexadecimal, but you can change that whenever you want with the -f option. customizable queen πŸ‘‘

okay so here are the options, one by one, nothing skipped, we're being thorough today:

  • -a, --autocopy β€” automatically copies whatever hyprpicker outputs straight to the clipboard. lowkey important: this one requires that the wl-copy(1) command is installed on your system. no wl-copy, no autocopy, sorry bestie 😭
  • -f fmt, --format=fmt β€” picks the format to output the selected pixel's color in. the argument fmt is case-insensitive (slay). the available options are:
    • cmyk β€” ("C% M% Y% K%")
    • hex β€” ("#RRGGBB")
    • rgb β€” ("R G B")
    • hsl β€” ("H S% L%")
    • hsv β€” ("H S% V%")

and the default format is hex. periodt.

  • -n, --no-fancy β€” disables colored output. bc by default it colors the output in the exact same color as the pixel you selected, which is honestly iconic behavior, but if you want the plain un-fancy version you just say -n 🎨
  • -h, --help β€” displays a help message and exits successfully from the program. polite AND efficient πŸ’–
  • -c, --cursor β€” includes the cursor in the frozen preview. so the cursor gets to be part of the moment too, as it deserves 🫢

🌸 ENVIRONMENT 🌸

  • NO_COLOR β€” if this is set, it disables colored output. no notes, it just does that ✨

⭐ EXIT STATUS ⭐

the hyprpicker utility exits 0 on success, and >0 if an error occurs. so 0 = good vibes, anything above = something went wrong 😭


🧚 EXAMPLES 🧚

get a pixel's color:

$ hyprpicker

get a pixel's color in HSL, wrapped in a CSS hsl() function:

$ hyprpicker -f hsl | sed 's/^/hsl(/; s/$/)/; y/ /,/'

not us piping straight into sed to make CSS. we're so smart actually πŸ’…


πŸ’œ SEE ALSO πŸ’œ

hyprctl(1), hyprland(1), sed(1), wl-copy(1)

the Hyprpicker Sources: https://github.com/hyprwm/hyprpicker πŸ‘‘


πŸŽ€ AUTHORS πŸŽ€

the hyprpicker utility was originally written by Vaxerski <https://github.com/vaxerski> and the manual page by Thomas Voss <mail@thomasvoss.com>. legends, both of them, fr fr 🌟


πŸ’€ BUGS πŸ’€

the Hyprpicker Bug Tracker: https://github.com/hyprwm/hyprpicker/issues

found a bug? don't suffer in silence bestie, go file it πŸ™ˆ

and that's the whole page!! this one's running on Linux, dated November 14, 2022 β€” tysm for reading, go pick some colors, ily, bye πŸ’–βœ¨πŸ¦‹πŸ“

πŸ“¦ where this page comes from