Wayland shader wallpaper daemon for Hyprland that reacts to your windows, cursor, and music.
hyprglaze renders GLSL shaders and modular effects on the background layer. The wallpaper knows what is happening above it: window geometry, focus, cursor position, and system audio all feed the shaders in real time.
Features
- Renders behind all windows via wlr-layer-shell, on a chosen monitor or one instance per monitor
- Draws at the monitor's native resolution on scaled displays, via fractional-scale and viewporter
- Shadertoy-compatible GLSL uniforms (iResolution, iTime, iMouse, iWindow)
- Tracks every visible window through Hyprland's own move and resize animations and follows interactive drags exactly
- Gets compositor state pushed from a small Lua watcher inside Hyprland, so geometry stays live even mid-drag
- Captures system audio through PipeWire/PulseAudio, auto-detecting the output monitor
- Ships 365 Gogh terminal color schemes as palette uniforms; sprites recolor to match the theme
- Loads pluggable effects, each with its own TOML config section, and reloads config live (including the effect)
- Runs real simulations where an effect calls for one: substepped XPBD ball physics with windows as moving colliders, 2D laser ray tracing, space-limited plant growth
- Includes an animated desktop buddy, optionally driven by Claude Haiku on AWS Bedrock
Effects
| Effect | Description |
|---|---|
particles |
Balls in a substepped XPBD physics sim: they fall toward the focused window and settle against its frame, moving windows bat them, hard hits pop |
windowglow |
Subtle accent glow around focused window, surface tint on unfocused |
concentric |
SDF concentric rings radiating from window edges, cursor interaction |
fluid |
Metaball contour lines that merge organically around windows and cursor |
starfield |
Flight through a 3D starfield: the cursor steers and the camera banks into turns, stars streak past with diffraction spikes on the bright ones, through a palette nebula that zooms by forever. Music pushes the speed, kicks surge it, and now and then it jumps to hyperspace |
visualizer |
Stereo waveform with Catmull-Rom interpolation, amplitude-driven palette colors |
milkdrop |
MilkDrop-style visualizer: eleven presets of per-frame motion equations (zoom, rotation, warp, ripple, kaleidoscope) over a half-float feedback loop, with scope/circle/spectrum/spiral waveforms, custom shapes, borders and video echo, blending into each other through patterned transitions. One preset draws your windows into the loop. Dreams on a synthetic wave when no music plays |
buddy |
Animated sprite character with procedural behaviors, palette-recolored |
ai-buddy |
AI-driven buddy with mood system, emote particles, window awareness, wall climbing |
glitch |
Circuit-bent video feedback: a camera filming its own monitor, with your window frames as the only light. Stutter, freezes, skipping and slit-scan playback, sync loss, mosaic, crude dither, all in the theme's surface tones with brief accent bursts; music speeds the bends up |
tide |
Rising water line tied to wall-clock time, with teardrops and splash jets |
fire |
Flames and smoke rise from window top edges and the bottom of the screen as a simulated gas, in the theme's own reds, yellows and gray. Windows are solid bodies in the air around them: drag one and its flame streams back over it and trails behind, the air it pushes bends its neighbors' flames, and when it stops the flame stands back up. The fire lights the wall and the smoke around it |
voltaic |
Electrical arcs between window borders: thin, jagged channels that strike, writhe and stretch, then cool from white through blue to violet where they went out. Small arcs crawl the focused frame, beats drive discharges, and loud passages hold a standing arc between the two largest windows |
moire |
Fine ring gratings radiating from invisible bodies orbiting windows; where they cross, moiré fringes. Gravitationally lensed, audio-reactive |
swarm |
A murmuration: thousands of starlings, each one drawn, wheeling as one flock that pours around windows. Birds bank into their turns and waves of flashing wings cross the flock. The cursor is a falcon, bass draws the flock tight and a kick sends a wave through it, and in quiet they come down to roost along the tops of your windows |
ivy |
Bioluminescent vines climb window frames and screen edges until the frame is clad, then mature in place; they wilt when their window moves or closes and wait dormant while it is on another workspace |
weft |
Windows shine through a grainy diffraction weave; the audio waveform threads through the fringes |
whorl |
Cyclic cellular automaton on a phosphor CRT: two-tone spiral waves break around windows, music wired into the rules |
fur |
A soft combed pile of curved, fuzzy strands: the cursor parts it, windows crush it flat and heap a ridge at their edges, bass shivers the coat |
amorphous |
Flat liquid blobs in two layers, colors rolled from the theme; they drift, neck together and pinch apart within a layer, meet gentle resistance at windows, wrap across the screen, loosen and ripple with music, and the cursor is a lamp on their edges |
laser |
Lasers fired from opposite screen corners toward the cursor in two theme colours, reflecting off windows and the screen's edges and dimming with every bounce, through smoke they light up; one resonates with the lows, the other with the highs |
coral |
Brain coral grown by Gray-Scott reaction-diffusion: flat folds creep out from window frames and fill the desktop with mazes and worms, coral under a window slowly dies back to bare rock and regrows when the window leaves, the cursor draws seed that buckles into folds, slow tides dissolve patches into spots and clearings so the reef never sets, and pulses of light run down the folds with the music |
cellbloom |
A culture of cells on a plate of food, seen down a microscope, with out-of-focus dust on the glass and a little grain. The cells are clear balls of gel in one color, lit by a lamp behind the focused window; when focus moves, that lamp fades out as another fades in behind the new window. Each cell has a soft translucent membrane, the lamp mirrored on its near side and again, dimmer, on its far side, the light it gathers spilling out behind it, and a faint nucleus in the theme's neutral foreground inside it. Nothing is quite regular: outlines wobble, nuclei float and trail behind a cell that is pushed, grains drift inside and motes in the medium, and no two cells are the same size. Each cell grows, then divides: it pinches at the waist as its two halves part, and the wall between the daughters closes last. Neighbors press flat against each other but keep round shoulders, so a colony is a raft of bubbles. A colony eats its own middle bare, so a bloom spreads from its rim while the cells behind it starve, pale, crumple and shrink away, and the next one starts when the food has grown back. Windows are solid: cells crowd round their frames, a dragged window plows them aside, and one opened on a colony buries it. The cursor nudges cells out of its way. Music is weather to it, not something to flash to: a loud passage quickens the culture and makes its food grow back faster, so it thickens over the next minute; each beat sets a few full-grown cells dividing, here and there; and each cell's light drifts slowly with its own band of the music |
orbs |
Matte spheres set half way through a plane, none touching, seen from low and close like a studio render: near ones loom and are sharp, far ones fall away soft and dim. One large lamp hangs low behind the focused window, so its light rakes across them and they throw long soft shadows over the plane and each other; when focus moves, that lamp fades out as another fades in behind the new window. A dim cool light fills the shadows, and lit faces throw a little light back onto their neighbors. A fine film grain lies over it all. The field slides slowly toward you, the cursor pushes spheres aside, and in music each swells a little with its own band |
memphis |
A Memphis print in two flat colors: discs, triangles, squares, zigzag strokes and fields of halftone dots, and wherever two of them overlap the color flips. Each kind of shape drifts on its own sheet, so the overlaps never stop changing and the screen stays evenly filled. Halftone dots grow toward the focused window and swing round when focus moves, the cursor pushes shapes aside, and in music each dot field swells and each zigzag stretches with its own band |
darkwave |
A board of small square lamps on a strict grid, nearly all dim, over a pond of light. Broad slow swells drift across and wake the lamps they pass under, most white and the rest in the theme's colors. A lamp wakes at once and fades slowly, so everything that crosses the board has a crisp front and a soft tail. On top of the swell runs a real wave simulation with a cell for each lamp: the cursor leaves a wake and a tail of fading lamps, a moved window throws a bow wave that glints along its leading edge, and the focused window's frame stands in a little light. In music each color has a band of the spectrum to itself, low to high as a rainbow runs, so the colors on the board are the spectrum, and each beat pushes the swell forward |
skein |
A skein of thin lines across the screen in one color running into another. Each ribbon is a couple of dozen lines strung between two slow waves: they fan into nested lobes where the waves stand apart, pinch to a point where they cross, and make a fine moiré where two ribbons overlap. The edges are real strings, so the cursor plucks the ribbon by moving up or down through it and the pulse runs off both ways. It keeps to its line across the middle of the screen whatever the windows do. In music it dances: each wave swells with its own band, the bass heavily and the top bands quickly, and the top bands run fine ripples along the edges |
flux |
Magnetic field lines: every window is a bar magnet, the cursor a compass needle; pulses flow north to south with the music |
crystal |
A ray-traced cluster of quartz shards with real refraction and dispersion; your windows are the lights, and the focused one is the key light |
Install
Requirements
hyprglaze talks to Hyprland through its Lua config manager, which means Hyprland 0.55 or newer configured with hyprland.lua rather than the classic hyprland.conf. At startup the daemon installs a watcher into the compositor's Lua state; if your Hyprland runs a classic config, hyprglaze will refuse to start.
Developed and tested against 0.56.2. The watcher reads the monitor list through hl.get_monitors(); where that is unavailable it degrades to emitting only a heartbeat, which leaves the wallpaper running but tracking nothing, so prefer a recent Hyprland.
From the AUR
yay -S hyprglaze-git
From source
sudo pacman -S zig wayland mesa libglvnd stb libpulse
zig build
zig build run
To install system-wide (binary, shaders, sprite sheet and the systemd user units, the same layout as the package):
sudo zig build --release=safe --prefix /usr
Usage
hyprglaze --effect fire --theme "Rosé Pine"
hyprglaze --output DP-1 # render on a specific monitor
hyprglaze --list-effects # list available effects
hyprglaze --list-themes # list available themes
hyprglaze --set-theme "Nord" # persist a theme to the config file (hot-reloads)
hyprglaze --help # full flag reference
From source: substitute zig build run -- for hyprglaze.
To start it with Hyprland, launch one instance per monitor from hyprland.lua:
hl.on("hyprland.start", function()
hl.exec_cmd("hyprglaze --output DP-1 &")
hl.exec_cmd("hyprglaze --output HDMI-A-1 &")
end)
Without --output the wallpaper lands on the monitor that has focus at startup.
A templated systemd unit is packaged as well (systemctl --user enable --now hyprglaze@DP-1),
but it is WantedBy=graphical-session.target, which only something like uwsm
reaches. If Hyprland is started directly, from a display manager or a
start-hyprland script, that target is never activated, so the units run once
because of --now and are gone after the next login. Use the exec_cmd form
there.
docs/configuration.md covers what happens when a monitor goes away and comes back.
Configuration
hyprglaze reads ~/.config/hypr/hyprglaze.toml and reloads it live. A minimal config:
effect = "fluid"
theme = "Rosé Pine"
[transition]
duration = 0.25
[particles] # each effect reads its own section
count = 60
Audio-reactive effects auto-detect the output monitor; set sink in an effect's
section to pick another, or music = false to skip capture. The ai-buddy
effect needs AWS Bedrock credentials.
docs/configuration.md lists every effect's settings and covers audio sinks and the AI buddy setup.
How it works
Most Hyprland companions poll the IPC socket. hyprglaze installs a small Lua watcher inside the compositor that pushes window and cursor changes over socket2 only when something moves, and replays Hyprland's own animation curves so the shaders see windows where they are drawn, not where they are going. docs/architecture.md has the details.
Development
zig build # build
zig build test # unit tests
zig build ipc-test # watch the state the Lua watcher pushes, live
- docs/effects.md: shader uniforms and adding an effect
- docs/testing.md: the nested-Hyprland test harness and probes
Credits
- Sprite: Free Tiny Hero Sprites by Craftpix
- Color schemes: Gogh
- Protocol: wlr-layer-shell
License
MIT © 2026 Shaun Lastra. See LICENSE.