/hyprrdrop

A collection of Hyprland utilities

Primary LanguageRust

Hyprrdrop: Hyprland Utilities

I love Hyprland.

Why?

Experiment. Why not?

Features

THIS IS ALL EXPERIMENTAL USE AT YOUR OWN RISK

Special Workspace Toggle

Utilities to manage special workspaces. Create a special workspace with 3 different options:

  • Active Window
  • Class
  • Command (TODO)

Active Window

Move the current active window into a special workspace. Optionally register a keybind to toggle the special workspace.

# moves the active window into the workspace 'hyprrdrop-term'
hyprrdrop register active term
# the same as above, but register a keybind for it
hyprrdrop register -k "SUPER, T" active term
# use -f to force assign the bind
hyprrdrop register -k "SUPER, T" -f active term

These keybinds are dynamic, which means a compositor restart or hyprctl reload will remove the binds. A restore function for these is being considered.

Class

Moves all windows that match a WM_CLASS into a special workspace:

# moves all windows with the class kitty-term into the workspace hyprrdrop-term
hyprrdrop register class term "kitty-term"

Command

Unimplemented.

Toggle

Toggles a special workspace in the hyprrdrop namespace.

# toggles the special workspace hyprrtoggle-term
hyprrdrop toggle term

Building

Ensure Rust and Cargo are installed.

Clone the repo with git or download an archive

git clone https://github.com/luqmanishere/hyprrdrop.git

Build it with cargo:

cargo b --release # Build the program
cargo r --release # Directly run it
cargo install . # install it to $HOME/.cargo/bin

Thanks