Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rot

A Hyprland notch. Collapsed it is a small pill at the top of the screen. Hover it and it springs open with now-playing, tray icons, bluetooth, and the latest notification.

Built with GPUI and zbus. No Electron, no GTK bar.

Preview

Collapsed — clock, cover, and title:

Collapsed notch

Hover — now playing, time, tray:

Expanded island

Scroll — latest notification:

Notifications

Install

curl -fsSL https://github.com/pub-struct/rot/releases/latest/download/install.sh | sh

That drops rot in ~/.local/bin. Override the destination with ROT_INSTALL_DIR.

Hyprland

Stop waybar, start rot. Exclusive zone is the collapsed height (30px), so tiled windows sit under the pill.

exec-once = rot

Lua config:

hl.exec_cmd("rot")

Make sure ~/.local/bin is on PATH for the compositor.

From source

git clone https://github.com/pub-struct/rot
cd rot
cargo run --release

Needs a Wayland session, Rust, and the usual GPUI/Linux packages (libwayland, libxkbcommon, Vulkan).

Use

  • Hover the pill to expand.
  • Click the bluetooth mark to pick a device; click a chip to connect or disconnect.
  • Scroll on the island to switch between info and the latest notification.
  • Left-click a tray icon to activate it (same as waybar). Right-click for the menu.

Debug:

env effect
ROT_OPEN=1 keep the island open
ROT_PAGE=1 start on the notification page
ROT_BT=1 start on the bluetooth picker

Release

./scripts/release.sh 0.1.1

Pushes v0.1.1. GitHub Actions builds rot-<triple>.tar.gz and attaches it to the release, which is what install.sh downloads.

About

A Hyprland notch: hover to expand, now-playing, tray, notifications.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages