Skip to content

itsvlxd/hyprpicker

 
 

Repository files navigation

Hyprpicker logo

Repo Size Language License Wayland

A sleek, wlroots-native color picker for Wayland built for Hyprland with a focus on speed, accuracy, and simplicity.

hyprpicker demo

✨ Description

Hyprpicker is a blazing-fast, minimal, and accurate color picker built for Wayland compositors like Hyprland.
It lets you instantly grab any color from your screen with pixel-perfect precision.

Hyprpicker is designed to just work with clipboard copying, format selection, zoom lens, and desktop notifications.

🚀 Usage

Run it, click anywhere, get the color.
By default, the color is printed to stdout. Combine it with options like clipboard copy or notification for a smoother experience.

hyprpicker -a -n -b -f rgb

🧰 Command-Line Options

Hyprpicker usage: hyprpicker [arg [...]].

Arguments:
 -a | --autocopy            | Automatically copies the output to the clipboard (requires wl-clipboard)
 -f | --format=fmt          | Specifies the output format (cmyk, hex, rgb, hsl, hsv)
 -n | --notify              | Sends a desktop notification when a color is picked (requires notify-send and a notification daemon like dunst)
 -b | --no-fancy            | Disables the "fancy" (aka. colored) outputting
 -h | --help                | Show this help message
 -r | --render-inactive     | Render (freeze) inactive displays
 -z | --no-zoom             | Disable the zoom lens
 -q | --quiet               | Disable most logs (leaves errors)
 -v | --verbose             | Enable more logs
 -t | --no-fractional       | Disable fractional scaling support
 -d | --disable-preview     | Disable live preview of color
 -l | --lowercase-hex       | Outputs the hexcode in lowercase
 -V | --version             | Print version info

📦 Installation

sudo pacman -S hyprpicker

🔧 Build From Source

Dependencies

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

Build and install

cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -S . -B ./build
cmake --build ./build --config Release --target hyprpicker -j$(nproc)
sudo cmake --install ./build

📚 License

Hyprpicker is licensed under the BSD 3-Clause License — a permissive license that allows nearly unrestricted use, including commercial, as long as proper credit is given.

About

A sleek, wlroots-native color picker for Wayland built for Hyprland with a focus on speed, accuracy, and simplicity.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 87.9%
  • CMake 7.4%
  • Nix 4.7%