One central theme drives every app. Selecting a theme renders it once into
~/.local/state/desktop/theme/, and everything reads from there.
theme list # families; * marks the current one
theme current # e.g. "tokyonight dark"
theme set catppuccin # switch family, keep the mode
theme set gruvbox --mode light # switch family and mode
theme mode toggle # dark ⇄ light (also: mode dark|light)| Family | Dark | Light |
|---|---|---|
| tokyonight (default) | night | day |
| catppuccin | mocha | latte |
| gruvbox | dark | light |
| rosepine | main | dawn |
| eink | near-white ink on charcoal | near-black ink on warm paper; for black-and-white wallpapers |
| kanagawa | wave | lotus |
| dracula | night purples, pinks and cyans (muted text a shade lighter than its comment colour, for contrast) | Alucard, Dracula's official light |
| nord | Polar Night | Snow Storm (Nord colours; Nord ships no light theme) |
Palette values are copied from each project's official ports, with attribution in
~/.local/share/desktop/themes/<family>.toml. Every variant passes WCAG AA contrast
(text 4.5:1, muted text 3:1); the renderer refuses one that doesn't.
| App | How | When it updates |
|---|---|---|
| kitty | include of the rendered kitty.conf (its opacity too: 0.9 in dark mode, opaque in light, as foot and nvim) |
Live (kitten @ set-colors and set-background-opacity on each kitty) |
| foot | include of the rendered foot.ini with dark and light variants |
Mode live (SIGUSR1/2); family in new windows |
| st | ~/.Xresources includes the rendered st.Xresources; xrdb -merge + SIGUSR1 (reload patch) |
Live on X11 |
| tmux | source-file of the rendered tmux.conf |
Live (re-sourced) |
| git, delta | [include] of the rendered git.conf |
Next command |
| lazygit | LG_CONFIG_FILE merges the rendered lazygit.yml |
Next start |
| lazydocker | lazydocker alias sets CONFIG_DIR to the rendered lazydocker/ |
Next start |
starship, fzf, zsh autosuggestions, ls / eza, bat, btop, fastfetch, pgcli |
The terminal's 16 ANSI colours | With the terminal |
| cava | cava alias loads the rendered config (gradient from the ANSI colours) |
Live (SIGUSR2) |
| i3 / sway window borders | include of the rendered i3.conf |
Live (i3: i3-msg reload; sway: its colours sent as commands) |
| picom (i3) | Started with the rendered picom.conf (light: vsync and corners, no colours) |
At its next start |
| polybar (i3's bar) | ~/.config/polybar/theme.ini links to the rendered polybar.ini (colours, fonts) |
Live (polybar-msg cmd restart) |
| rofi (menus) | ~/.config/rofi/theme.rasi links to the rendered rofi.rasi |
The next menu |
| dunst (i3's notifications) | ~/.config/dunst/dunstrc.d/90-theme.conf links to the rendered dunst.conf |
Live (dunstctl reload) |
| GTK theme, icons, cursor, fonts | X11: xsettingsd reads the rendered xsettingsd.conf; Wayland: gsettings (org.gnome.desktop.interface). adw-gtk3, Tela-circle-blue dark/light, Bibata-Modern-Ice, the font collection (see Fonts) |
Live |
| GTK 3 | adw-gtk3 (dark or light) with its named colours from the rendered gtk-3.0.css (~/.config/gtk-3.0/gtk.css links to it); settings.ini (both GTK versions) from gtk-settings.ini |
Dark/light live; colours on app restart |
| GTK 4 / libadwaita | libadwaita's CSS variables in the rendered gtk-4.0.css (~/.config/gtk-4.0/gtk.css links to it); gsettings color-scheme |
Dark/light live; colours on app restart |
| Qt 5 / Qt 6 | QT_QPA_PLATFORMTHEME=qt5ct (qt6ct answers to it too); ~/.config/qt{5,6}ct/qt{5,6}ct.conf link to rendered configs: Fusion, the rendered qt-colors.conf, Tela icons, Inter |
On app restart |
| Quickshell (bar, panels, lock) | Reads the rendered palette.json |
Live (qs ipc call theme reload) |
| nvim, vim | Build their colorscheme desktop from palette.json |
nvim live (SIGUSR1); vim within a second |
| yazi | ~/.config/yazi/ links to the rendered flavor |
Next start |
| herdr | ~/.config/herdr/config.toml links to the rendered herdr.toml (the whole config: its colours and its tmux keys) |
Live (herdr server reload-config) |
| rmpc, pspg, opencode | Their rendered configs (rmpc.ron; PSPG_CONF; OPENCODE_CONFIG_DIR) |
Next start |
| VSCodium | desktop vscodium writes its settings.json: the repo's base plus the rendered vscodium/colors.json |
Live |
| Login screen (SDDM) | The rendered sddm-theme.conf, copied to its shared folder |
Next login |
| Boot menu (GRUB) | The rendered grub-theme.txt and a background drawn from the palette, in its theme folder (always the family's dark colours) |
Next boot |
theme renders every file in ~/.local/share/desktop/templates/ into a fresh directory, then swaps
~/.local/state/desktop/theme (a symlink) to it in one step, so apps see the old theme or the new
one, never a mix. A request identical to the current theme (same palette, templates and mode) keeps
the current render. Then every app in the table at the top of ~/.local/bin/theme reloads, all at
once; apps that only read a fixed path under ~/.config get a link to their rendered file.
Adding an app: a template in templates/, and a row in that table (rendered file, link or -,
reload command or -).
| Path | Contents |
|---|---|
~/.local/share/desktop/themes/<family>.toml |
Source palettes: semantic UI roles and 16 ANSI colours per mode |
~/.local/share/desktop/templates/ |
One template per rendered target |
~/.local/state/desktop/theme/current |
family= and mode= of the active theme |
~/.local/state/desktop/theme/palette.json |
Active variant for apps that read JSON |
~/.local/state/desktop/theme/ kitty.conf, foot.ini, i3.conf, picom.conf, polybar.ini, rofi.rasi, dunst.conf, xsettingsd.conf, st.Xresources, cava, tmux.conf, git.conf, lazygit.yml, lazydocker/, pspg/, rmpc.ron, silicon.tmTheme |
Rendered configs |
One font collection for the whole desktop, as one theme is. Each names three fonts: the interface font (menus, buttons, file managers, browsers' interface, the shell), the display font (the shell's clocks, big numbers and titles) and the monospace font (terminals, editors, code).
| Collection | Interface | Display | Monospace | Packages |
|---|---|---|---|---|
inter (default) |
Inter | Inter Display | JetBrainsMono Nerd Font | inter-font, ttf-jetbrains-mono-nerd |
geist |
Geist | Geist | GeistMono Nerd Font | otf-geist (AUR), otf-geist-mono-nerd |
sf |
SF Pro Text | SF Compact Display | SF Mono | apple-fonts (AUR; Apple licenses them for its own devices) |
desktop font list # the collections, * the current one, and any font not installed
desktop font set geist # or Settings → Appearance → Fontsset refuses a collection with a font missing. The choice is fonts.collection in shell.json; the
theme renders it with the colours (~/.local/share/desktop/fonts.toml lists the collections), so it
reaches GTK (gsettings, xsettingsd, settings.ini), Qt (qt5ct/qt6ct), fontconfig (sans-serif and
monospace, linked to the rendered fontconfig.conf: browsers and the rest), kitty (reloaded at
once), foot and st (new windows), VSCodium's editor and terminal, window titles and the login screen.
Icons fall back to JetBrainsMono Nerd Font and emoji to Noto Color Emoji. Apps that read their fonts
only as they start (Qt apps, browsers) take the new ones when restarted.
kitty is the main terminal on both sessions. The backups are foot on Wayland and st on X11;
st is built from the pinned 0.9.3 release with the
xresources-with-reload-signal
patch (packages/extra/st.sh), and reads its font, padding and colours from ~/.Xresources.
packages/system.sh sddm (sudo) installs the desktop SDDM theme: your wallpaper blurred and dimmed,
a large clock, a rounded password field (a wrong password shakes it), the session (click to switch)
and suspend / reboot / power off. Colours and fonts come from the active theme (sddm-theme.conf).
sddm can't read your home directory, so it doesn't follow theme set by itself: run it again
after a switch. An /etc/sddm.conf that names another theme is switched in place (the
original stays as sddm.conf.pre-desktop).
packages/system.sh grub (sudo) installs a minimal boot menu: a dark gradient in the theme's
colours (its background lightened toward its surface at the centre, darkened at the edges, a little
grain against banding), a centred column of entries in Inter, the chosen one brighter, and the
countdown below. It always uses the family's dark colours, so it never flashes bright. Its
theme.txt and background are made yours, so theme set redraws them without sudo. It sets
GRUB_THEME and graphical output in /etc/default/grub (the original is kept as
grub.pre-desktop; a serial console is left alone) and regenerates grub.cfg.
- btrfs /boot: the first entry boots by default instead of the last one chosen. GRUB can't write its saved choice there ("sparse file not allowed").
- Arch: the entries are named Linux, Linux LTS and Linux (fallback) by
/etc/grub.d/09_desktop(system/etc/grub.d/) in place of10_linux's "EndeavourOS, with Linux …", which is turned off and kept off across grub updates byNoExtractinpacman.conf. The firmware's own boot entries (GRUB_DISABLE_BOOTNEXT) are hidden. If the new entries don't reachgrub.cfg, GRUB's own come back. - Preview without installing anything:
packages/system.sh grub --previewboots it in a small QEMU window.
theme links the fixed paths GTK and qt5ct/qt6ct read to the rendered files. An existing file there
that isn't one of these links is moved to ~/.local/state/desktop/backup/theme/ first, never deleted.
Don't save settings from the qt5ct/qt6ct windows: they would write into the rendered file, and the
next theme overwrites it. Change the templates instead.