Skip to content

About

Aria desktop shell for Wayland

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Aria Shell

License LOC-RS LOC-CSS

A fast, modern and customizable desktop shell for your Wayland compositor.

AriaShell is a full-featured desktop shell designed to complement Wayland compositors such as Hyprland, Sway, and others. It provides a panel, launcher, lock screen, exit menu, notification daemon, OSD, wallpaper manager, screenshots, and more — all configurable and themeable through a CSS-like stylesheet.

Warning

The project is in active development. Expect breaking changes and incomplete features.

AriaShell is being rewritten in Rust on iced (wgpu) and iced_exwlshell; the previous Python/GTK4 implementation is in the git history (git log -- aria-shell-python). The checklists below are the port's status.


Components

🗂️ Aria Panel

A fully customizable panel with a rich set of built-in gadgets, one layer-shell bar per monitor (or per [panel:*] section):

Gadget Status Description
Clock ✅ Current time with a calendar popup, a tip in another pattern (tooltip_format)
SystemMonitor ✅ CPU, RAM, swap, disks, network, GPU, load and temperature with a btop-like popup (process table, Terminate/Kill)
WorkSpaces ✅ Workspaces and windows overview (Hyprland & Sway)
Audio ✅ Volume control, multichannel mixer (PipeWire/PulseAudio) and MPRIS2 media controls
Tray ✅ System tray via (K)StatusNotifierItem + DBusMenu, the items' tooltips in tips
Themes ✅ Shell theme selector with light/dark mode support, and a colour picker
Themes 🔲 Icon theme selector (icon theme is set in the config for now)
Notifications ✅ Notification bell with unseen count, history popup and do-not-disturb
Custom ✅ User-defined gadgets with label, icon, tooltip, commands per mouse button and a periodic exec (text or JSON)
logout ✅ A Custom button to invoke Aria Exiter (aria-shell exiter toggle)
Power ✅ Battery (charge, time left, health), peripherals' charge, power profiles, idle inhibitor; low battery notifications
Brightness ✅ Every screen's brightness: the laptop's panel (backlight, through logind) and monitors over DDC/CI (ddcutil); wheel, a slider per screen
Network ✅ NetworkManager: Wi‑Fi networks, wired devices, VPN toggles, Wi‑Fi on/off
Network 🔲 Secret agent (VPN / 802.1X passwords asked in the popup), hidden networks, hotspot, mobile broadband, per-BSSID choice, editing profiles, iwd
SystemMonitor 🔲 Per-process graphs and command lines, tree view, filtering, battery, more sensors, Intel GPU
Tray 🔲 Overlay icons, menu icons and shortcuts, the org.freedesktop SNI name
bluetooth 🔲 bluetooth manager
Screenshot ✅ A button: the screenshot picker, a menu for the active window, the bar's screen, every screen
Screenshot 🔲 Screen recorder
Apps ✅ A dock's icons: pinned apps (per instance in the config, or from the menu on every bar), then the others with windows open; click focuses its window, or shows its windows when more, its name in a tip, a menu with windows, actions, pin/unpin, close
Apps 🔲 Reordering by drag, the windows' previews
home 🔲 a menu (cinnamon style) with app categories, search, favorites and sys controls
file 🔲 file browser in a tree of menus?
Places ✅ A file manager's sidebar: the home, the XDG folders, the trash, GTK's and KDE's bookmarks, opened in [general] file_manager
Places ✅ Devices through UDisks2, chosen as GVfs does (plus the root filesystem): mount and open, unmount and power off, disk usage, failures notified
Places ✅ Network shares of fstab (NFS, SMB, sshfs, WebDAV, ...) chosen as GVfs does, and those mounted by hand: mount and open, umount; local FUSE mounts (encfs, gocryptfs, bindfs, ...) with the devices
Places 🔲 Unlocking LUKS volumes, the shares gvfs mounts (smb://, sftp:// from Nautilus or gio mount)
polkit 🔲 A polkit authentication agent (mounting an internal disk asks for the admin password)
Brightness 🔲 Night light (colour temperature), a monitor's own buttons seen without reopening the popup
  • ✅ Multi-monitor, hot-plug aware
  • ✅ Config hot-reload (aria.conf) and theme hot-reload
  • ✅ Autostart: programs run once when the shell starts ([autostart])
  • ✅ One shell per display: a second aria-shell refuses to start
  • ✅ make install, a systemd user service, the programs it starts in systemd scopes of their own
  • ✅ A bar along its whole edge, or as long as its gadgets at its start, middle or end ([panel] align; at the start or the end it keeps no room from the windows)
  • ✅ A bar that hides at its edge, shown while the pointer rests there ([panel] autohide = yes), and on a desktop without windows too (smart)
  • 🔲 [panel] margin, opacity
  • 🔲 Special workspaces (Hyprland's special ones, Sway's scratchpad): not in WorkSpaces, and not counted by autohide = smart (one shown over an empty desktop doesn't hide the bar)

Full configuration via the aria.conf file.


🚀 Aria Launcher

An application launcher with support for .desktop files.

  • ✅ Search and run .desktop applications (names and descriptions in your language)
  • ✅ App list auto-update on install/uninstall
  • ✅ The exit menu's actions as a row of buttons above the search field
  • ✅ Usage-based ranking (what you launch most comes first; counts in ~/.local/state/aria-shell/launcher-usage)
  • ✅ Terminal apps (Terminal=true) in [general] terminal (auto: $TERMINAL, else the first of kitty, alacritty, foot, terminology, ... installed, or a command line with %c)
  • ✅ Secondary commands: an entry's desktop actions (e.g. Firefox's "New Private Window") open as child rows with → or the chevron, ← closes them
  • 🔲 DBusActivatable entries

🔒 Aria Locker

A lock screen implementing the ext-session-lock-v1 Wayland protocol.

  • ✅ Date/time and user name/avatar display
  • ✅ PAM-based password authentication (with PAM's own messages, e.g. a locked account)
  • ✅ Show/hide the password
  • 🔲 Background customization (same capabilities as Aria Wallpaper, or the desktop blurred)
  • 🔲 A spinner while checking, a shake on failure, a Caps Lock warning
  • 🔲 A second PAM prompt (e.g. a one-time code)

🚪 Aria Exiter

A session management dialog for locking, suspending, hibernating, logging out, rebooting and shutting down.

  • ✅ Fully customizable actions and labels via config
  • ✅ Auto-expiring confirmation dialogs for dangerous actions
  • ✅ Custom buttons with icon, label and confirmation support
  • ✅ logout = auto asks the compositor itself (Hyprland, Sway)
  • ✅ Keyboard navigation (Tab, then the arrows)
  • ✅ A default button, focused on open (default_button)
  • 🔲 Per-button hotkeys

🖼️ Aria Wallpaper

A background manager built on the LayerShell Wayland protocol. Each monitor can have a completely independent wallpaper, and sources can be mixed freely across displays — a static image on the laptop screen, an animated GIF on a second monitor, a live shader on the third.

Supported sources

Static images — standard raster formats (PNG, JPEG, WEBP).

Folders — every image in a folder and its sub-folders, shown in turn every interval, by name or shuffled (order = random: each one once before any comes again). Images added or removed while the shell runs are picked up; when the one on screen goes, the next one comes. aria-shell wallpaper next skips ahead (bind it to a key).

Animated GIFs (planned) — frame-accurate GIF playback, looped continuously. Useful for subtle motion loops without the overhead of a video file.

Shadertoy shaders (planned) — GLSL fragment shaders sourced directly from shadertoy.com. Save any shader code as a .shadertoy file and point the config at it. The shader is executed on the GPU every frame, giving you a fully animated, procedurally generated background with zero CPU cost.

Where the wallpaper comes from

[wallpaper] source says it, for every monitor; a [wallpaper:<connector>] section with its own source wins on that monitor (aria-shell debug surfaces names the connectors):

  • auto (the default, also when source is empty or missing): the backgrounds folder of the XDG data dirs. First the user's, ~/.local/share/backgrounds ($XDG_DATA_HOME/backgrounds), as soon as it has an image: put your pictures there and that's it, no config needed. Until then the system's, the first backgrounds folder of $XDG_DATA_DIRS with an image (usually /usr/share/backgrounds, where distributions and desktops install theirs: on a Sway system, Sway's own). Only one folder is used, never a mix of the two. GNOME uses the same folders, so its users find their pictures already there.
  • a folder: every image in it and in its sub-folders.
  • a file: that image (decoded by content, its name doesn't matter).
  • theme: no image, the theme's: the surface.wallpaper background of its CSS, colours and images in layers (background: url(glow.png) no-repeat, url(stripes.png) black).
  • none: no wallpaper from Aria Shell, for those who run another one (swaybg, hyprpaper, ...); without this, auto puts one on top of theirs.

In a folder only png, jpg, jpeg and webp files count (other files live there too: GNOME's slideshow .xml), hidden files and folders are skipped. With no image found the theme's background shows. Folders are watched: the first image put in a folder (even one that didn't exist yet) shows up at once. Paths take ~/..., or are relative to aria.conf's directory.

[wallpaper]
# auto | theme | none | a folder | a file
source = auto
# cover | contain | fill | none | scale-down
fit = cover
# a folder's next image every 30s, 10m, 1h; empty or 0 = the first one stays
interval = 30m
# name | random
order = random

# a monitor of its own
[wallpaper:HDMI-A-1]
source = ~/Pictures/vertical.jpg

Monitors sharing a section show the same image and change together; each [wallpaper:<connector>] has its own turn. aria-shell debug wallpaper tells, for each section, the monitors, the folder picked, the images found and the one on screen.

  • ✅ Per-monitor backgrounds
  • ✅ Fit modes: cover, contain, fill, none, scale-down (CSS object-fit)
  • ✅ Static images (reloaded when the file changes)
  • ✅ A default with no config: the user's backgrounds folder, else the system's
  • ✅ The theme's background, in CSS (source = theme, or no image found)
  • ✅ Cycle through the images of a folder (by name or random, every interval; aria-shell wallpaper next)
  • 🔲 Animated GIFs, videos
  • 🔲 tile fit mode
  • 🔲 Shadertoy shader support (.shadertoy files)
  • 🔲 texture based shader support
  • 🔲 A fade between images
  • 🔲 day-time-based wallpapers
  • 🔲 auto-pause when on battery? or when full covered?_

🔔 Aria Notifier

A full-featured desktop notification server, replacing tools like mako.

  • ✅ Icon and image data via DBus
  • ✅ Action buttons inside notifications
  • ✅ Urgency styling via the theme
  • ✅ Configurable corner, timeout, per-notification replacement
  • ✅ History and do-not-disturb (the Notifications gadget)
  • 🔲 Markup support (markup is stripped for now)
  • 🔲 Sound support, persisting the history and do-not-disturb
  • 🔲 resident / transient and x / y hints, animations
  • 🔲 Limit the number of visible notification somehow

🔆 Aria OSD

A short-lived bar on every screen when something changes, whatever changed it (a keybind, a gadget, another app). It only shows, it never changes anything ([osd], the theme's surface.osd).

  • ✅ Volume and mute of the default output, the device changing (headphones plugged in)
  • ✅ Microphone level and mute (the default input)
  • ✅ The microphone in use by an app, and free again
  • ✅ Wi‑Fi on / off, network connected / disconnected, a VPN up / down
  • ✅ Charger plugged in / out (with the charge), power profile, keep awake on / off
  • ✅ A screen's brightness, on that screen (aria-shell brightness, the gadget, the laptop's keys)
  • ✅ aria-shell osd show [--icon <name>] [--value <percent>] [text] from a script
  • ✅ Position (top, center, bottom) and duration from the config, size and look from the theme

📸 Aria Screenshot

Screenshots of the active window, a screen, every screen, or what you pick: aria-shell screenshot freezes the screens and lets you click a window or a screen, or drag an area, then resize and move it. Captured by the shell itself over Wayland (ext-image-copy-capture-v1), no grim needed.

  • ✅ The picker: click a window or a screen, drag an area; resize it by its edges and corners, move it; a toolbar (save, copy, edit, every screen), Enter / Escape
  • ✅ At once, for keybinds: aria-shell screenshot window | output [connector] | all
  • ✅ Every screen side by side, at the sharpest screen's scale; rotated screens come out upright
  • ✅ A PNG in [Screenshot] directory, opened in [Screenshot] editor with --edit (auto: the first of satty, swappy, ksnip, spectacle installed, or a command line with %f); or only on the clipboard with --clipboard
  • ✅ The Screenshot gadget
  • 🔲 Screen recording
  • 🔲 A delay, the pointer in the picture, a notification with a preview
  • 🔲 Compositors without ext-image-copy-capture-v1 (wlr-screencopy)

💻 Aria Terminal (not ported yet)

A lightweight drop-down terminal.

  • 🔲 Show/hide on command (Quake-style)
  • 🔲 Configurable opacity, font, size and shell
  • 🔲 Optional display grab when visible
  • 🔲 Fullscreen emulation via Ctrl+F
  • 🔲 show/hide animation ala quake console

💤 Aria Idler

What happens when nobody touches the machine ([Idle], [Idle:battery]): each stage has its own timeout from the last input, on AC and on battery.

  • ✅ Screens dimmed (dim_level of their brightness), screens off (both back at the first input), lock, suspend (through logind)
  • ✅ Separate timeouts on battery (UPower)
  • ✅ Lock before any sleep (lid, systemctl suspend) and on loginctl lock-session
  • ✅ Held by the Power gadget's eye or aria-shell idle inhibit, by a media player playing, and by apps inhibiting idle (a fullscreen video)
  • 🔲 A screensaver stage

🎨 Theming

The look comes from a CSS stylesheet, drawn by the shell's own toolkit (icssed/): assets/aria.css documents the shell's element trees, icssed/assets/base.css the toolkit's widgets and the supported properties; a user theme ([general] theme) is loaded on top, with light and dark colour schemes. Themes are found in ~/.config/aria-shell/themes/, the XDG data dirs and assets/themes/: a <name>.css, or a folder <name>/ with its <name>.css and its images. Over any theme, theme-override.css beside aria.conf holds your own touches (assets/theme-override.css is an example to start from): surface.panel#dock icon { height: 48px; } makes the [panel:dock] bar thicker whatever theme is in use (a bar is as thick as its content).

  • ✅ Selectors (type, class, id, attributes, :hover/:active/:focus/:focus-visible/:disabled/:checked, :first-child/:last-child, :nth-child/:nth-last-child), variables, cascade
  • ✅ Light/dark schemes, switched at runtime by the Themes gadget
  • ✅ A theme of variables alone: the palette, the font sizes, the corner radii (--radius-xs to --radius-xl, 0 for square corners)
  • ✅ The whole UI bigger or smaller ([general] scale = 1.5), sharp at any scale
  • ✅ Every surface a surface, its name a class: surface { border: ... } frames every window at once, surface.popup { } one
  • ✅ Hot reload while editing (a broken file keeps the running theme)
  • ✅ An inspector while editing: *:hover { -debug: box; } paints the margin, border, padding and content of the element under the pointer
  • ✅ Your own touches over any theme: theme-override.css beside aria.conf (a broken one is left out, the theme kept)
  • ✅ A theme as a folder (themes/<name>/<name>.css), its images beside it: an image changed reloads it too
  • ✅ A theme's own config (<name>.conf beside its .css), read over yours when [general] theme_config = yes or from the Themes gadget's menu: its keys win, its panels and wallpaper replace yours, ./ in a value is the theme's folder
  • ✅ A font built into the binary (Noto Sans Display, its Latin part, assets/fonts/): the same text on every system, whatever is installed; tabular digits, numbers don't shift as they change
  • ✅ Every part at once to compare them and take the theme's picture (aria-shell showcase: popups, launcher, exit menu, OSD, notifications, buttons)
  • ✅ CSS box model: margin, the border takes room, a border per side (border-bottom, ...), boxes sharp on the pixel grid, box-shadow: inset (unblurred)
  • ✅ A flexbox layout (gap, align-items, justify-content, fill, min/max sizes): every surface as big as its content, the bar as thick as its gadgets
  • ✅ :hover on any element, a themed scrollbar
  • ✅ transitions, @keyframes animations, opacity, transform (translate, scale)
  • ✅ Background images and border-image (9-patch)
  • ✅ Text centred on its letters (text-box), as next to an icon it should be
  • ✅ Fractional scaling: every surface laid out and drawn at its output's scale (tried on Sway)
  • 🔲 Gradients, @import, !important, @font-face, % and em
  • 🔲 Remember the theme picked at runtime, follow and set the desktop's colour scheme
  • 🔲 Shader backgrounds for widgets (background: shader("x.wgsl"))
  • ✅ Smooth transparency on the surfaces (shadows, rounded corners, rgba backgrounds), with a patched iced_wgpu until an iced release has the fix

🌍 Translations

Every text and date follows [general] language, or the environment's locale. English and Italian so far; adding a language is one file (src/locale/), and cargo test checks it's complete.


⌨️ Aria Commands

Control AriaShell programmatically via commands (the same binary is the client):

aria-shell ping
aria-shell lock
aria-shell launcher [toggle|show|hide]
aria-shell exiter   [toggle|show|hide]
aria-shell showcase [toggle|show|hide]
aria-shell idle     inhibit [toggle|on|off]
aria-shell osd      show [--icon <name>] [--value <percent>] [text]
aria-shell brightness up [percent]|down [percent]|set <percent> [--output <connector>]
aria-shell volume   up [percent]|down [percent]|set <percent>|mute [toggle|on|off] [--input]
aria-shell screenshot [window|output [connector]|all] [--edit|--clipboard]
aria-shell open     terminal|file-manager [dir]
aria-shell wallpaper next
aria-shell debug    surfaces|widgets [selector]|cursor|theme|locale|sysmon|audio|network|idle|power|brightness|screenshot|places|wallpaper
TODO: reload
TODO: terminal [toggle|show|hide]
TODO: notify ....
TODO: dmenu ...

Dependencies

System libraries

libpam            # lock screen authentication
libpulse          # audio gadget (PipeWire's pipewire-pulse or PulseAudio at runtime)
NetworkManager    # network gadget (over the system bus, at runtime)
systemd-logind    # idle: suspend, lock before sleep; the laptop's brightness (at runtime)
ddcutil           # the Brightness gadget's external monitors (at runtime, optional; needs the
                  # i2c-dev module loaded and access to /dev/i2c-*, as ddcutil's own docs say)
UPower            # the Power gadget, idle's timeouts on battery (at runtime, optional)
a compositor with ext-image-copy-capture-v1 and ext-data-control-v1   # screenshots, and
                  # copying them (Hyprland 0.56 and Sway 1.12 have them)
power-profiles-daemon or tuned-ppd   # the Power gadget's profiles (at runtime, optional)
a Vulkan or OpenGL driver for wgpu
an icon theme (Adwaita, breeze, ...) and the fonts your theme names

Build

Rust (stable, edition 2024) and cargo

Arch Linux

sudo pacman -S rust pam libpulse pipewire-pulse adwaita-icon-theme

Development extras

UI scenarios run in a headless nested Sway (tests/ui/run.sh):

sudo pacman -S sway grim dbus wl-clipboard python   # tests/ui
sudo pacman -S ydotool                              # driving the shell on the live desktop

Installation

Packaging for distributions is a work in progress... help needed!

Build it and install it (dependencies above):

git clone https://github.com/davemds/aria-shell.git
cd aria-shell
make                              # cargo build --release
sudo make install                 # in /usr/local
# or, for your user only and without root:
make install PREFIX=$HOME/.local

That installs the binary, the themes, a systemd user unit, the PAM service (/etc/pam.d/aria-shell, only when installing as root: the login service is used otherwise) and, in share/doc/aria-shell/, the sample aria.conf and the compositor examples. make uninstall with the same PREFIX removes them. Packagers: make DESTDIR=... PREFIX=/usr install.

Run from a checkout (cargo run, a debug build) the shell finds its sample config and themes in assets/.

Starting it

Once per session, one of:

  • As a systemd user service, with a session that starts graphical-session.target (UWSM, sway-systemd, ...): systemctl --user enable aria-shell.service. The journal has its log (journalctl --user -u aria-shell).
  • From the compositor: exec-once = aria-shell on Hyprland, exec aria-shell on Sway.

One shell runs per display: a second aria-shell started without arguments says so and leaves. Every program the shell starts (apps from the launcher, [autostart], gadget commands) gets a systemd scope of its own when there's a systemd user manager, so restarting the shell doesn't take them down with it.

Key bindings

Keys are the compositor's: bind them to the shell's commands (aria-shell launcher toggle, aria-shell exiter toggle, aria-shell lock, aria-shell open terminal, ...). Ready-made examples, with the start of the shell, the terminal and the file manager (Super+Enter, Super+E), volume, brightness and screenshot keys, are in assets/compositors/: hyprland.lua (Hyprland 0.56 and later), hyprland.conf (earlier Hyprland), sway.conf.


Configuration

AriaShell is configured through a single aria.conf file (~/.config/aria-shell/aria.conf). Each component and gadget can be enabled, disabled and tuned independently. Refer to the example config included in the repository (assets/aria.conf) for a full reference: it's built in too, the config used when there's none.

The preferred programs are in [general]: terminal and file_manager, each auto (the first one installed), none, or a command line (%c the program a terminal runs, %f the directory), as [Screenshot] editor is; aria-shell open terminal and aria-shell open file-manager [dir] run them.


Credits & Inspiration

About

Aria desktop shell for Wayland

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages