Installation
Migrating from v1: All previous configuration will be backed up and unused. Configuration of compositor settings such as monitors, keybinds, and autostart is now up to you, as the project migrated from being dotfiles to being a shell.
Serpantinum installs through an automated script on Arch Linux, Fedora, Void Linux, Gentoo, and their derivatives. The script detects your distribution and uses the matching package manager (pacman, dnf, xbps, or emerge). On NixOS, use the flake and modules instead.
Use this installer:
curl -fsSL https://install.serpantinum.dev | bash
If this doesn't work, use:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ilyamiro/serpantinum/master/install/install.sh)"
Once installed, Serpantinum updates automatically in the background and prompts you to restart when a new release is ready. You can also run serpantinum update in a terminal, or disable background downloads in Settings -> General -> Automatic updates. With automatic updates off, the shell only tells you when a new release is out, and you install it with serpantinum update.
Updating
Script-installed copies of Serpantinum live in versioned trees under ${XDG_DATA_HOME:-$HOME/.local/share}/serpantinum (using the same XDG_DATA_HOME for the installer and your desktop session).
- Automatic background updates: enabled by default (
general.autoUpdate: true). The shell checks GitHub releases hourly, downloads only changed files with SHA-256 verification, and shows Restart to update when ready. Releases that need new system packages, services, SDDM/PAM changes, newer Quickshell/Ski, or system migrations prompt for your password in a terminal runningserpantinum update. - Manual CLI updates: run
serpantinum updateto check, download, run any system steps, and restart. Useserpantinum update check [--json]to inspect available updates,serpantinum update status [--json]to view updater state and log path, andserpantinum update rollbackto switch back to the previous installed version. - Automatic rollback: if a freshly activated version exits before confirming startup (within 30 seconds) while your session is still running,
serpantinumdrolls back to the previous version and blocks that release from re-staging automatically. Logging out during that window doesn't count as a crash. A shell that hangs instead of exiting can be reverted manually withserpantinum update rollback. - Command links:
serpantinum,serpantinumdand the bundled daemons are linked from/usr/local/binand~/.local/binonce, at install time. If those links are missing or point to an old copy, the About tab shows Repair, andserpantinum updatefixes them, asking for your password. - Terminal for password prompts: the Update and Repair buttons open the terminal set in Settings › Launcher › Terminal command. If that program isn't installed, they use
$TERMINAL,xdg-terminal-exec, or the first of kitty, foot, Alacritty, Ghostty, WezTerm, Konsole, GNOME Terminal, Console, Xfce Terminal or xterm that is installed. - Nix and package-managed installs: NixOS/Nix-store installs show a notice to update your flake input, and manual PKGBUILD installs show a notice to update through your package manager. Neither ever downloads files or opens the installer.
- Local code edits: installed version trees are read-only content-addressed hardlinks shared between versions, so editing a file under
~/.local/share/serpantinum/versions/fails with "permission denied". Forcing the edit withchmodchanges every version that shares the file, andserpantinum update status --verifyreports it. To edit QML or scripts, run Serpantinum from a git checkout instead (detected automatically as adevinstall). - Installer compatibility: re-running the curl installer remains supported for fresh installs, repairs, and migrating installs from v2.6.4 or older onto the self-updating layout.
Fedora
Fedora and its derivatives, such as Nobara and Ultramarine, are installed with dnf. Fedora does not package gpu-screen-recorder, so screen recording is unavailable there. SDDM is set up with its Wayland greeter, since Fedora ships no Xorg server. Mango and Umbriel are installed from the Terra repository, which the installer enables when needed.
Void Linux
Void Linux, both glibc and musl, is installed with xbps. Everything comes from the official repositories except:
- Hyprland, which Void does not package. When you select it, the installer adds the third-party black-hole.dev repository in
/etc/xbps.d/20-serpantinum-hyprland.confand accepts its signing key. - Umbriel, which Void does not package either. When you select it, the installer adds the third-party UniversalRepository in
/etc/xbps.d/10-universalrepository.confand accepts its signing key.
Niri, Sway, and Mango come from the official repositories.
- adw-gtk3 and JetBrains Mono, which are downloaded from their latest GitHub releases into
/usr/share/themesand/usr/share/fonts.
Services are enabled through runit. dbus, bluetoothd, and power-profiles-daemon start right away. NetworkManager and sddm start from the next boot, so the installer does not cut your network or take over the screen while it runs. If dhcpcd or wpa_supplicant were enabled, they are kept from starting at the next boot, since they conflict with NetworkManager. Wi-Fi networks must then be connected again through Serpantinum or nmcli. Display managers being replaced keep running until you reboot.
PipeWire is configured system-wide to launch WirePlumber and pipewire-pulse, with ALSA routed through it. Sessions started from SDDM get a D-Bus session bus and PipeWire automatically. If you start your compositor from a TTY instead, launch it with dbus-run-session and start pipewire from its autostart.
Gentoo
Gentoo and its derivatives are installed with emerge on both glibc and musl, with systemd or OpenRC. Before emerging packages, the installer writes the required USE flags (including sound-server, pipewire-alsa, bluetooth, dbus, and echo-cancel on media-video/pipewire, vulkan on media-video/ffmpeg, Qt6 Wayland/PipeWire/QML flags, and weston for the SDDM Wayland greeter) and testing keywords (~amd64 / ~arm64) to /etc/portage/package.use/serpantinum and /etc/portage/package.accept_keywords/serpantinum (or appends to /etc/portage/package.use and /etc/portage/package.accept_keywords when those are files).
Packages outside the main gentoo tree are pulled from overlays enabled via eselect repository:
- GURU (
eselect repository enable guruandemaint sync -r guru), which providesquickshell,matugen,satty,gpu-screen-recorder,adw-gtk3,xwayland-satellite, Niri, Mango, and Umbriel. - hyproverlay (
eselect repository enable hyproverlay), which is only enabled when you select Hyprland.
Sway comes from the main gentoo repository.
On systemd, the installer enables NetworkManager, bluetooth, power-profiles-daemon, and sddm.service, along with the pipewire.socket, pipewire-pulse.socket, and wireplumber.service user units.
On OpenRC, the installer adds dbus, elogind, bluetooth, power-profiles-daemon, and NetworkManager to the default runlevel. If dhcpcd or wpa_supplicant are enabled, they are removed from default, while an active dhcpcd or net.* connection stays running until reboot so your network is not interrupted. SDDM is enabled through gui-libs/display-manager-init by setting DISPLAYMANAGER="sddm" in /etc/conf.d/display-manager and adding display-manager to default. SDDM Wayland sessions are wrapped with dbus-run-session and gentoo-pipewire-launcher so D-Bus and PipeWire start automatically; if you launch your compositor from a TTY instead, start it with dbus-run-session and run gentoo-pipewire-launcher from its autostart.
Arch Linux and derivatives
Arch Linux and its derivatives (EndeavourOS, Manjaro, CachyOS, Garuda, Artix and others) are supported on systemd, OpenRC and other init systems. Umbriel is installed from the AUR package umbriel-git, so an AUR helper is required; the installer sets up yay if none is present.
Build from source on Arch
Arch-based distributions can build Serpantinum as a native package from this repository instead of running the installer script. The package installs the shell system-wide and pulls in every runtime dependency the installer would. The parts of the installer that change your home directory, services, or login screen are not done by a package, so you run them yourself afterwards.
The repository contains two PKGBUILDs in packaging/aur, and they conflict with each other:
| Package | Builds |
|---|---|
serpantinum | The latest tagged release |
serpantinum-git | The latest commit on master |
Install the build tools:
sudo pacman -S --needed base-devel git
Then clone the repository and build the package:
git clone --depth 1 https://github.com/ilyamiro/serpantinum.git
cd serpantinum/packaging/aur/serpantinum
makepkg -si
For the latest commit instead of the latest release, use cd serpantinum/packaging/aur/serpantinum-git. makepkg -si installs the remaining dependencies with pacman, builds the package, and installs it.
Do not run the installer script on a system where Serpantinum is installed this way. It would place a second copy in ~/.local/share/serpantinum and link it over the packaged one. Update by rebuilding the package, as described below, and use the steps that follow for anything the installer would otherwise do. The in-app updater detects package-managed installs and reminds you to update through your package manager instead of downloading updates.
What the package does
| Installer step | Package |
|---|---|
| Install dependencies | Done, including Iosevka Nerd Font |
Replace quickshell-git with quickshell | Done, the package conflicts with quickshell-git and installs quickshell |
Install serpantinum and serpantinumd | Done, in /usr/bin |
| Install serpantinum-audio | Done, serpantinum-audio in /usr/bin |
| Install serpantinum-gamma | Done, serpantinum-gamma in /usr/bin |
| Install serpantinum-core | Done, serpantinum-core in /usr/bin |
| Lock screen PAM service | Done, /etc/pam.d/serpantinum |
| SDDM theme files | Done, in /usr/share/sddm/themes/material-you |
| Compositor configs | Manual, step 1 |
| Kitty, Cava, and Fastfetch configs | Manual, step 2 |
| Wallpapers | Manual, step 3 |
| Serpantinum settings | Manual, step 4 |
| System services | Manual, step 5 |
| Qt icon theme | Manual, step 6 |
| SDDM configuration | Manual and optional, step 7 |
| First launch guide | Manual, step 8 |
The installer's install telemetry has no equivalent, so a package install only sends the anonymous daily ping.
Manual setup
The packaged files live in /usr/share/serpantinum. These steps copy what you need into your home directory and are written to be pasted into a shell one after another, since later steps reuse variables from earlier ones.
share=/usr/share/serpantinum
cfg="${XDG_CONFIG_HOME:-$HOME/.config}"
1. Compositor config
Install the compositors you want, for example sudo pacman -S hyprland. The package lists Hyprland, Niri, Sway, Mango, and Umbriel as optional dependencies. Then copy the matching config. Choose one row:
| Compositor | comp | dir |
|---|---|---|
| Hyprland | hyprland | hypr |
| Niri | niri | niri |
| Sway | sway | sway |
| Mango | mango | mango |
| Umbriel | umbriel | umbriel |
comp=hyprland
dir=hypr
if [ -d "$cfg/$dir" ]; then
backup="$cfg/${dir}_backup/backup_$(date +%Y%m%d_%H%M%S)"
mkdir -p "$backup"
cp -a "$cfg/$dir/." "$backup/"
fi
mkdir -p "$cfg/$dir"
cp -r "$share/compositors/$comp/." "$cfg/$dir/"
Your existing config is backed up first. Files with the same name in the new config replace yours, so move any personal settings back from the backup afterwards.
2. Kitty, Cava, and Fastfetch configs
for app in kitty cava fastfetch; do
mkdir -p "$cfg/$app"
cp -r "$share/config/$app/." "$cfg/$app/"
done
This replaces files with the same name. Skip any app whose config you want to keep.
3. Wallpapers
pictures="$(xdg-user-dir PICTURES 2>/dev/null)"
if [ -z "$pictures" ] || [ "$pictures" = "$HOME" ]; then
pictures="$HOME/Pictures"
fi
wallpapers="$pictures/Wallpapers"
mkdir -p "$wallpapers"
curl -fL https://github.com/ilyamiro/shell-wallpapers/releases/latest/download/wallpapers.tar.gz \
| tar -xz -C "$wallpapers"
This unpacks the full wallpaper pack. To keep only a few, unpack the archive into a temporary folder and copy the files you want into $wallpapers.
4. Serpantinum settings
This merges the default settings with any settings you already have, keeps your values, and points the shell at your wallpaper folder:
settings="$cfg/serpantinum/settings.json"
mkdir -p "$cfg/serpantinum"
[ -s "$settings" ] || echo '{}' > "$settings"
jq -s --arg wp "$wallpapers" '(.[0] * .[1]) * {wallpaperDir: $wp}' \
"$share/config/serpantinum/settings.json" "$settings" > "$settings.tmp" \
&& mv "$settings.tmp" "$settings"
bash "$share/src/scripts/location.sh" --refresh
The last command detects your location for the weather widget. Skip it if you prefer to set the location by hand.
5. Services
On systemd, enable the audio stack, networking, and power profiles:
sudo systemctl --global enable pipewire wireplumber pipewire-pulse
systemctl --user enable --now pipewire wireplumber pipewire-pulse
sudo systemctl enable --now NetworkManager power-profiles-daemon
On OpenRC, dinit, runit, or s6, enable NetworkManager and power-profiles-daemon with your init system's tools, and make sure PipeWire and WirePlumber start with your session.
6. Qt icon theme
for qt in qt6ct; do
mkdir -p "$cfg/$qt"
[ -f "$cfg/$qt/$qt.conf" ] || printf '[Appearance]\nicon_theme=Adwaita\n' > "$cfg/$qt/$qt.conf"
done
if [ -z "$QT_QPA_PLATFORMTHEME" ] && ! grep -rqs '^QT_QPA_PLATFORMTHEME=' "$cfg/environment.d"; then
mkdir -p "$cfg/environment.d"
printf 'QT_QPA_PLATFORMTHEME=qt6ct\n' > "$cfg/environment.d/serpantinum-qt.conf"
fi
If you already have a qt6ct.conf, set icon_theme=Adwaita under [Appearance] yourself. Log out and back in for the environment variable to apply.
7. SDDM login screen (optional)
The theme files are already installed. Install SDDM and its Qt dependencies, then configure it:
sudo pacman -S --needed sddm qt6-declarative qt6-svg
[ -f /etc/sddm.conf ] && sudo mv /etc/sddm.conf "/etc/sddm.conf.backup.$(date +%Y%m%d_%H%M%S)"
sudo mkdir -p /etc/sddm.conf.d
sudo tee /etc/sddm.conf.d/10-material-you.conf > /dev/null <<'CONF'
[Theme]
Current=material-you
ThemeDir=/usr/share/sddm/themes
[General]
InputMethod=
CONF
/etc/sddm.conf overrides the files in /etc/sddm.conf.d, so it is moved aside. To run the greeter on Wayland, add these two lines under [General]:
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_DISABLE_WINDOWDECORATION=1
If another display manager is enabled, disable it before enabling SDDM, for example sudo systemctl disable gdm. Then enable SDDM:
sudo systemctl enable sddm.service
8. First launch
Show the welcome guide on the next start:
rm -f "${XDG_STATE_HOME:-$HOME/.local/state}/serpantinum/first_launch.done"
Log in to your compositor. The configs from step 1 start Serpantinum on login. If you kept your own compositor config, add serpantinumd start to its autostart.
Updating and removing
To update, pull the repository and build again. The new package replaces the installed one:
cd serpantinum
git pull
cd packaging/aur/serpantinum
makepkg -si
Removing the package leaves everything in your home directory alone:
sudo pacman -Rns serpantinum
Delete ~/.config/serpantinum, ~/.local/state/serpantinum, and ~/.cache/serpantinum yourself if you also want your settings gone.