Skip to content
ParkerrDevPublic

About

Liquid glass for Omarchy: real refracting glass for the bar, menus, panels, notifications, lock screen and windows, with genie, jelly and wobble

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

Vetro. Liquid glass for Omarchy.

Vetro

Real liquid glass for Omarchy: the bar, the menu, the panels, the notifications, the lock screen and your windows. Your theme stays yours.

Omarchy's floating parts are flat see-through rectangles over a blur. Hyprland can blur what is behind a surface, but it cannot bend it: no refraction, no lit edge, nothing that reads as glass. Vetro is a Hyprland plugin and a set of Omarchy shell plugins that make them glass. Each pane bends the light at its edge, lights a rim that follows its own corners and frosts what is behind it, and windows move to match: a genie when they close, jelly when they open, a wobble when you drag them. It lies over your theme instead of replacing it, and vetro off gives you Omarchy back as it was.

Windows wobbling, a genie closing a window, workspaces sliding, the launcher and the panels, all in liquid glass
The whole video (55 seconds, 1440p, with sound)

omarchy plugin add https://github.com/ParkerrDev/vetro --enable
omarchy bar move dev.vetro.control --section tray

The Vetro button opens setup in a terminal, shows the changes and asks before installing or activating anything. After setup it opens Vetro Glass; right-click turns Vetro on or off. The button can stay in the tray drawer. Adding it to an existing Vetro installation uses that installation without moving it.

Omarchy 4.5; tested engine pins for Hyprland 0.56.2 and 0.57.1. Other compositor builds keep plain blur until a matching engine has been validated. vetro off restores the desktop. Uninstall the bundle before removing its marketplace checkout; see Installation below.


What changes
Bar Omarchy's own bar, every widget of it, on a pane of glass. The workspace selector is a drop of glass that glides from number to number.
Menu Omarchy's menu and app launcher on glass, over a frosted screen.
Panels The calendar and the other panels the bar opens.
Notifications Glass toasts, a notification centre and its bell, served by Vetro's own notification daemon.
Volume The on-screen display.
Lock screen Omarchy's default blurred wallpaper and centered password field, with liquid glass on the input.
Windows See-through windows (the terminal, for one) are glass too. Windows under glass show through it; the desktop's widgets never do.
Motion One pace for windows, panels, menus and workspaces, and a genie, jelly and wobble to switch on in Vetro Glass.
Vetro Glass An app to tune all of it by hand, with presets.

Your theme, wallpaper and terminal colours stay the theme's. While Vetro is on, the shell's colours and the GTK, Qt and Kvantum ones are Vetro's own black and white.


How it works

The engine

The glass is drawn by hyprglass.so, a Hyprland plugin: a fork of hyprnux/hyprglass kept in engine/, with its shading, tuning and motion in Rust (engine/crates) and its hooks into Hyprland in C++ (engine/src). Panes and windows get Apple's own glass shader, tuned as the Author's pick or as you leave it.

A plugin has to match its compositor exactly, so engine/pins says which engine commit is built for which Hyprland commit, and a pin is added only once that pair has been built and seen working. engine/build.sh reads the installed Hyprland's commit from its headers, builds the pinned engine at a low priority and moves it into ~/.local/lib/vetro. After every omarchy update a hook builds it again if Hyprland changed, and never fails the update.

What keeps it safe

  • The engine is loaded from outside (vetro glass load), never by Hyprland's config. Hyprland reads its config again each time a plugin loads, so a config that loads one loops and freezes the screen.
  • hypr/vetro.lua counts how often it is read. Past twelve readings in ten seconds it leaves the glass alone until vetro on.
  • The glass is optional at every step. With no engine, an engine built for another Hyprland, or one that refuses its settings, every pane has plain blur and nothing errors.

On and off

vetro on lays marked blocks and links in your home folder: a block in ~/.config/omarchy/shell.toml that makes the bar see-through and gives the shell Vetro's colours, a see-through block for foot and kitty, the GTK, Qt and Kvantum colours, and the shell plugins in place of Omarchy's notifications, volume display, lock screen and menu. Then it reloads Hyprland, restarts the shell and loads the engine.

vetro off takes each of them away and gives Omarchy's own plugins back. It touches no theme, no wallpaper and no package. A file of yours in the way of a link is kept as NAME.pre-vetro and put back.

Omarchy's shell reads ~/.config/omarchy/shell.toml over the theme's own, key by key. That is how Vetro's colours win over any theme and outlast a change of theme without being part of it.


Installation

Marketplace

Use the plugin command above, then click its button. The launcher installs no packages and executes no setup on enable. It asks before building and again before activation. Launch cards and the optional launch theme are excluded from this setup.

Requirements: Omarchy 4.5, Quickshell, Python 3, jq, git, Rust/Cargo, a C/C++ compiler, make, pkg-config, matching Hyprland headers and their development dependencies, GTK4 and libadwaita. vetro doctor reports missing optional desktop integration tools. Network access is needed to fetch pinned engine sources and Cargo dependencies during builds; the control widget itself makes no network requests.

The installer links commands, shell plugins, fonts and theme/update hooks into your home directory, adds a marked optional module to ~/.config/hypr/hyprland.lua, and builds the engine and notification daemon. Activation changes the shell surfaces and toolkit appearance described above. It never selects another theme or wallpaper. Existing regular files and foreign symlinks are backed up beside the installed link; removal restores the original when that backup is available.

The former download-to-shell bootstrap is no longer supported; setup runs the checkout you reviewed.

Update the marketplace checkout with omarchy plugin update dev.vetro.control, then run its install.sh to refresh generated parts. Do not remove the checkout while the bundle is installed, because its files are linked from there.

By hand

git clone https://github.com/ParkerrDev/vetro ~/.local/share/vetro
~/.local/share/vetro/install.sh
vetro on
Flag
--on switch it on when done
--no-build link everything and build nothing yet; the panes have plain blur until install.sh runs again
--without launch leave the launch cards out (--without theme: the launch theme)

Everything lands as a symlink into the clone, and running install.sh again changes nothing that is already in place. The settings in ~/.config/vetro/ are copied once and are yours.

Looks best with

papirus-icon-theme, adw-gtk-theme, kvantum, qt6ct-kde, xcursor-pro-cursor-theme and xcursor-pro-hyprcursor. Vetro does not install them; vetro doctor says which are missing.

Uninstall

# Marketplace installation: remove the bundle first, then its launcher.
~/.config/omarchy/plugins/dev.vetro.control/uninstall.sh
omarchy plugin remove dev.vetro.control

# Manual installation:
~/.local/share/vetro/uninstall.sh

Commands
vetro on                 lay the glass and Vetro's colours over your theme
vetro off                take them away: Omarchy as it ships, your theme untouched
vetro toggle             whichever it is not (bind a key to this one)
vetro status             on or off, the engine, the guard
vetro tune               open Vetro Glass
vetro glass look [NAME]  which glass it is, or another (see Tuning the glass)
vetro glass load         the engine into the running Hyprland (on and login do this)
vetro glass unload       the engine out of it
vetro build [--force]    build the engine for the Hyprland that is installed
vetro doctor             check the installation, one line a check

Tuning the glass

Open Vetro Glass from the app launcher (the glass V), or run vetro tune. Its sliders cover how clear or tinted the glass is, the frost, colour and inner light, how much darker it gets over bright things, the lens with its bend and colour fringe, the darkened edge, where the light comes from, the rim, the hairline and the glow, whether windows show through, and the motion. The presets set all of them at once: Author's pick (the default), iOS 27, Ultra clear, Clear, Tinted, Fully tinted, iOS 26 and Lens.

Changes preview live; Apply writes ~/.config/vetro/glass.conf for future logins. Undo, Redo and Revert let you experiment without losing the applied settings. Your looks saves named setups separately; Preview loads one as an undoable change. Hold to compare temporarily shows the last applied settings, returning to the preview when released or when the window loses focus. Names never overwrite existing looks. Saved looks remain in ~/.config/vetro/looks/ after uninstall. After editing the file by hand run hyprctl hyprglass tune reload; to try values without writing them, hyprctl hyprglass tune frost=12 tint=0.4.

Earlier looks are one command away: vetro glass look lens, macos, liquid, regular, cloud, clear or sharp. vetro glass look apple comes back to the tuned glass.

Motion

Also in Vetro Glass, and in the same file:

Key Default
pace 1 how quickly windows, panels, menus and workspaces move, 0.5 to 2
genie_close 0 a closing window pours itself into the bottom of the screen
genie_open 0 a new window pours out of it
genie_pointer 0 the genie pours toward the pointer instead
genie_time 0.55 seconds
jelly 0 a new window lands with a soft squash and settles
jelly_squash 0.08 how far it squashes
wobble 0 a dragged window bends behind the pointer and jiggles as it settles
wobble_moves 0 windows the layout moves wobble too
wobble_time 0.55 seconds to settle
wobble_bounce 0.55 how far it swings past where it rests

Addons

Each addon in addons/ is found at run time, and vetro on and off ask each installed one to follow.

  • launch: two glass cards on the desktop, the next SpaceX launches and the weather, kept fresh by a small Rust daemon that sleeps until a fetch is due. See addons/launch/README.md.
  • theme: the launch look as an Omarchy theme, launch, in the theme menu like any other.
  • login: the login screen in the same style. It needs root, so install.sh leaves it alone: addons/login/install-system.sh.

Project layout
bin/vetro            the command
lib/                 what it and the installers share: on, off, doctor
hypr/vetro.lua       the one Lua file Hyprland loads: blur, which panes get glass,
                     the corners, and the guard against a config read in a loop
engine/              the glass engine and what builds it (build.sh, pins, post-update.sh)
shell/               the shell plugins, their library (vetro.lib), the notification
                     daemon (notifyd, Rust), the fonts and the shell's settings
apps/glass/          Vetro Glass, the tuning app (GTK 4)
override/            the colours laid over any theme: shell, terminals, GTK, Qt, Kvantum
addons/              launch, theme, login
assets/branding/     the glass V and the banner, rendered by render.py
tools/               bar-build.py, which builds Vetro's bar from Omarchy's own
install.sh           link everything and build; uninstall.sh takes it all out
tests/, scripts/     the checks

Development
scripts/check-repo                       # shellcheck, Lua, Python, data files, and every
                                         # script tested against stand-ins (no desktop touched)
VETRO_TEST_ENGINE=1 scripts/check-repo   # and the engine's and the daemons' own tests
scripts/check-text                       # no em-dash or en-dash, no credit to an AI assistant
git config core.hooksPath .githooks      # the same checks on every commit

The tests hold the structure, not the look: nothing checks pixels. A change to the engine needs a new line in engine/pins, added once that engine has been seen working on that Hyprland.

Found a bug? Open an issue with what vetro doctor prints.


Limits
  • One Hyprland at a time. Each new Hyprland needs a pin. Until it has one, the panes have plain blur.
  • Dark only. There is no light glass.
  • Fixed toolkit colours. GTK, Qt and Kvantum are Vetro's black and white while it is on, not drawn from the wallpaper.

Credits and license

Vetro is MIT (LICENSE). It stands on:

  • Liquid Glass for Omarchy by fasi96 (MIT), whose named looks, comparison control and explicit marketplace setup informed the corresponding Vetro features; these are implemented in Vetro’s native tuner and installer;
  • hyprglass by Hyprnux, the engine it forks (BSD 3-Clause, engine/LICENSE);
  • HyprPerks' Hyprland Desktop Experience, where Vetro's shell began, released under MIT by Hyprland Development thanks to Omarchy's Omacom Foundation sponsorship;
  • Omarchy, whose menu, workspace and lock plugins Vetro's are cloned from (MIT);
  • D-DIN by Datto and Nunito (SIL OFL 1.1), Material Symbols by Google (Apache 2.0), and KvLibadwaita by Gabriel Perko-Engel for Kvantum (GPL 3.0);
  • "Machines With Feelings" by HoliznaCC0 (CC0), the music in the video.

NOTICE says which file is under which terms.

About

Liquid glass for Omarchy: real refracting glass for the bar, menus, panels, notifications, lock screen and windows, with genie, jelly and wobble

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages