📏 Measure anything on your screen. Built for Linux and compatible Wayland compositors.
yay -S hypruler-binUsing the AUR:
yay -S hyprulerOr manually from GitHub:
git clone https://github.com/t4t5/hypruler.git
cd hypruler
cargo build --release
cargo install --path .Add a keybind to your Hyprland config (~/.config/hypr/hyprland.conf):
bind = $mainMod, M, exec, hypruler
Or if you're using Omarchy (~/.config/hypr/bindings.conf):
bindd = SUPER, M, hypruler, exec, hypruler
Hypruler supports Wayland compositors that expose the required protocols:
wlr-screencopy-unstable-v1xdg-output-unstable-v1wlr-layer-shell-unstable-v1
Tested on Hyprland and Umbriel. Other compatible Wayland compositors are expected to work when they provide all of these protocols; compositor-specific commands are not required at runtime.
Heavily inspired by PixelSnap for macOS.
MIT
