Skip to content

About

Desktop widgets for Wayland that live under your shell: audio visualizers, clocks and a now-playing card that can pass behind your wallpaper's subject. Integrates with Noctalia (palette, depth). C++/GLES.

Topics

Resources

Security policy

Stars

20 stars

Watchers

3 watching

Forks

Repository files navigation

undershell

undershell on six desktops: a red spectrum behind a katana blade, a manga revolver firing on the kicks, a CRT terminal, a halo round a skull, flames behind a skeleton, an old TV in an anime room

▶ Watch the 69-second demo · More desktops

Desktop widgets that live under your shell and apart from it: a standalone Wayland client in C++ (GLES 3) that doesn't depend on any shell or dotfiles. It integrates with Noctalia (palette) and KDE Plasma (wallpaper, colour scheme), reads the wallpaper of other shells (caelestia, DankMaterialShell, …) and wallpaper tools, and runs on Umbriel/niri/Hyprland/Sway/KDE Plasma/COSMIC and, through an extension, GNOME. Its first widgets are ports of Ryoku's.

  • Same layer as Noctalia's widgets (layer-shell bottom): above the wallpaper, below the windows, and click-through.
  • Depth: widgets pass behind what stands in front in the wallpaper. undershell computes each wallpaper's depth map itself, with the model Noctalia's wallpaper_depth plugin uses (Depth Anything V2), and cuts every widget at its own plane on the GPU (see Depth planes).
  • Noctalia colors: the palette comes from noctalia theme <wallpaper> --scheme <your scheme> (the same generator the shell uses) and is recomputed when you change wallpaper or theme.
  • Lightweight: PipeWire capture inside the same process (no cava), FFT + cava-style processing (adapted from Noctalia, MIT) and the whole spectrum drawn in a single GPU pass (Ryoku's shader). With music it uses ~3% CPU on an HD 520; with no audio it sleeps.

What it has

Visualizer 32 looks that follow the music: bars and rings, fire, electricity, rain, neon, a CRT terminal, an old TV, the Game of Life, a lava lamp, a globe…
Widgets Clocks (12 faces), calendar, weather, system monitor, activity, notes, the music card, lyrics (karaoke), stereo instruments, dioramas, text with local data, shapes, photo frames and a pet with 65 companions (36 with painted chibi and pixel animations) that tells you of notifications
Wallpaper A colour filter, 18 effects including mirror and water reflections, particles, the real weather, Wallpaper Engine scenes and videos, depth planes, a layout per wallpaper
Editor Placing, shaping, grouping and layering widgets on screen, scene animation and sharing, the depth brush, every shortcut
Desktop Rules for automatic scenes, a focus timer, a screensaver, performance profiles, KDE Plasma, GNOME and other shells, the Noctalia bar widget
Options Every option of every widget

Install

Get prebuilt packages from the Releases page. The installation guide covers Arch, Fedora 43/44, Debian 13, Ubuntu 24.04, NixOS and Void Linux. From source:

git clone https://github.com/EternalSelf-2328/undershell.git && cd undershell
meson setup build --prefix=$HOME/.local
meson compile -C build && meson install -C build
systemctl --user daemon-reload && systemctl --user enable --now undershell

Requirements, every distribution's packages, updating and uninstalling: docs/INSTALL.md.

Usage

undershell                  # start (one instance only)
undershell msg edit         # editor on/off
undershell msg demo         # synthetic spectrum for previewing looks
undershell msg status       # widgets, fps, depth mask, audio
undershell msg perf         # performance level, load, what each widget costs (perf eco|balanced|high|ultra|auto sets it)
undershell msg wallpaper-set ~/Pictures/a.jpg [eDP-1]  # through the program that draws the wallpaper
undershell msg add clock flip  # add a widget: visualizer, clock, calendar, weather, system, activity, notes, now_playing, lyrics, text, shape, image, instrument, diorama, pet, filter, scene
                               # the second word is its look: a clock face, a
                               # visualizer style or a card layout, and the new
                               # widget comes out at that layout's own shape
undershell msg add pet fox     # pixel companions: animals, mythical creatures, people and spirits (docs/PETS.md)
undershell msg add pet qilin_chibi  # the drawn collections: *_classic and *_chibi
undershell msg remove clock    # remove it
undershell msg select clock    # select it in the editor (scripts); several ids select them together
undershell msg group viz clock # group widgets (ungroup <id>: its whole group)
undershell msg layer clock up  # restack it: up, down, front, back
undershell msg pick-files tv   # the TV's file chooser: adds to its tv_files ("folder" for folders); an image's picture
undershell msg depth-model     # download the depth model (~95 MB)
undershell msg gallery         # open the editor with the gallery
undershell msg screensaver     # show the screensaver now (screensaver-stop: take it down)
undershell msg pet say Hola    # the pets: say <words>, react <alert|happy|dance|jump|sleep|wake>, notify <words>
undershell msg reload
undershell msg quit
undershell --snapshot DIR   # render the looks and clock faces to PNG (no window needed)

Editor: undershell msg edit (bind it to a key with the absolute path, e.g. "Mod+Ctrl+D" = "spawn:/home/USER/.local/bin/undershell msg edit" in Umbriel). Drag widgets, resize them by a corner, change their look with the wheel and every option in the inspector; + adds a widget, Esc finishes. Layers, groups, the depth brush, shapes and every shortcut: docs/EDITOR.md.

Configuration

~/.config/undershell/config.toml: it's created with defaults the first time and applies live on save. Each [[widget]] has id, output, x, y, width, height and the visualizer options (style, bars, thickness, reflection, grow, shape, color_mode theme/gradient/custom, color/color2 as a Noctalia role or #hex, gain, smoothing, peaks, mirror, idle_wave, spin, glow, fps, opacity, depth). You can have several widgets.

Building, the tests and how the code is laid out: docs/DEVELOPMENT.md.

Status

This is a personal project, shared as is. It works day to day on the setup it was built on (Umbriel + Noctalia, CachyOS), though it is still young and not every compositor or setup has been tried. It was written with a lot of help from AI agents.

Because it's a personal project, updates may be infrequent and tend to focus on whatever ideas come to mind at the moment. If you run into a bug, have a suggestion, or want to contribute, you're more than welcome to open an issue or a pull request — I'm always open to new ideas!

License

GPL-3.0-or-later. Credits and third-party licenses (Ryoku GPL-3.0, Noctalia MIT, OFL fonts, LRCLIB, Depth Anything V2) are in NOTICE.md.

About

Desktop widgets for Wayland that live under your shell: audio visualizers, clocks and a now-playing card that can pass behind your wallpaper's subject. Integrates with Noctalia (palette, depth). C++/GLES.

Topics

Resources

Security policy

Stars

20 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages