Skip to content

Latest commit

 

History

82 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hypruler

📏 Measure anything on your screen. Built for Linux and compatible Wayland compositors.

Hypruler demo


Installation

Pre-built AUR binary (fastest)

yay -S hypruler-bin

Building from source

Using the AUR:

yay -S hypruler

Or manually from GitHub:

git clone https://github.com/t4t5/hypruler.git
cd hypruler
cargo build --release
cargo install --path .

Usage

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

Requirements

Hypruler supports Wayland compositors that expose the required protocols:

  • wlr-screencopy-unstable-v1
  • xdg-output-unstable-v1
  • wlr-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.

Acknowledgments

Heavily inspired by PixelSnap for macOS.

License

MIT

About

Measure anything on your screen. Built for Linux + Wayland.

Resources

Stars

44 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages