Skip to content

Conversation

@r3b00thx
Copy link
Contributor

In this commit I updated the readme file to look much nicer and better
offering more information regarding HyprPicker and better design
overall.

Here is a preview of the new readme

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.

r3b00thx added 14 commits June 4, 2025 20:53
In this commit I added a new feature, a flag for notifications -n /
--notify. It's using the notify-send command line utility to send
desktop notifications. By default I made it compatible with dunst (you
will need to enable full markup in the dunst config) but it should work
with other notification daemons too.
In this commit I fixed various issues from using c style code, trying to
maintain the same code base even tho is pretty trash in some places. I
also fixed the markup foreground color render, now it renders proerply
the color from, in all the supported formats.
In this commit I moddified some naming conventions to algin better with
cpp standards, I also moddified the clipboard function to use just a
single argument instead of multiple.
By mistake I removed the autocopy in the last commit. Sorry, autocopy
it's back in this commit
In this commit I increased the preview contrast of the color preview
buffer background to look better on different colors.
I fixed the flag mismatch for the no fancy option.
…cess

This refactors the logic for running `notify-send` and `wl-copy` by
using Hyprutils::OS::CProcess to spawn and manage these external
processes in a more structured way.
In this commit I updated the readme file to look much nicer and better
offering more information regarding HyprPicker and better design
overall.
In this commit I did various chores, I removed the intermediary
variables from the clipboard and notify, and other various fixes in the
hyprpicker.cpp
In this commit I updated the readme file to look much nicer and better
offering more information regarding HyprPicker and better design
overall.
@r3b00thx
Copy link
Contributor Author

Also @vaxerski u forgot about the release from the previous feature

@vaxerski
Copy link
Member

I did not - not every MR makes a release instantly.

@vaxerski
Copy link
Member

I don't like this tbh - hyprpicker is a tool. There's no need for overused emojis, or logos. I don't even know where the font in that "banner" comes from. What are these badges for? Language is wrong, we use C++23. Why is the license there? It has a separate tab for a reson.

@r3b00thx
Copy link
Contributor Author

It's the same font from the website, the one used in the wiki

@vaxerski
Copy link
Member

well I still think the banner is redundant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants