lastshell

Quickshell desktop shell for Hyprland with two bars, eight modals, and a notification server

readme · slastra/lastshell

Quickshell desktop shell for Hyprland with two bars, nine modals, and a notification server.

lastshell

Raw Quickshell, no framework. Colors come from your terminal's color scheme.

Features

The bars are zones: flat plates flush to the screen edges, each a row of items divided by hairlines. Hovering an item unfolds a popout from its plate, and every popout shares one layout (a name and its reading, rows, a note). Four instruments are drawn with Canvas rather than fonted: an analog clock (hour hand only), a thermometer whose mercury tracks the CPU package, a speaker whose arcs grow with volume, and a usage ring that sweeps between quota windows. Icons are Lucide; text is ShureTechMono.

The modals share one chrome: a header with an identity icon and a prompt caret, a scrolling body with a gliding cursor and gold match highlighting, a hint footer, and an animated backdrop mask.

Notifications are the shell's own NotificationServer: toasts with an urgency rule on the left and a countdown line draining along the bottom, and a history the center reads.

Nothing is colored by hand. Theme.qml reads kitty's colors.conf (background, foreground, the 16 ANSI colors), derives its neutrals from the background and foreground, and gives each ANSI slot one role: an accent for what is active, and warning and critical colors for what needs attention. Change the terminal scheme and the shell follows, live. Corner radius and border thickness come from a small JSON file the same way. The scheme picker modal drives tint, which recolors the rest of the desktop.

The shell is also the session's polkit agent. Its prompt wears the modal chrome, names the password it wants when an app's own unlock goes through polkit (1Password's), and counts down pam_faillock's remaining attempts, since a cancelled prompt is one of them. Stop any other agent (hyprpolkitagent, polkit-gnome) first: a session holds one registration.

The same chrome makes a greetd login screen, in greeter/ (preview).

Install

Requirements

  • Quickshell 0.3.1, Hyprland (workspace and focus integration speak its IPC)
  • The Lucide icon font, installed as a user font (lucide.ttf from lucide-static)
  • ShureTechMono Nerd Font for text

Some widgets pair with daemons that own their data, and degrade quietly without them:

  • tabstrip feeds the browser tab strip and the tab switcher
  • scripts/claude-status.py --daemon feeds the Claude Code session chips and usage ring; systemd/claude-status.service runs it with the graphical session (or start it from your compositor's autostart)
  • the capture modal runs scripts/capture.sh: grim, slurp and satty for shots, gpu-screen-recorder for video, and for the recording overlays and sounds python-evdev, numpy, ffmpeg and gtk4-layer-shell (the region border). Needs the input group for clicks and keys
  • the hotkey modal shells out to an engine script (see dots for a working copy)

Theming

The shell needs only ~/.config/kitty/colors.conf; without one it falls back to Vague on black. Two optional pieces:

  • ~/.config/tint/out/shape.json, {"radius": 0, "border": 1}, sets corner radius and border thickness in pixels.
  • The scheme picker (overlays toggleSchemes) calls a tint command: tint list --json for the schemes and tint apply NAME [--live] to apply one. The configuration it uses is in dots.

The shell

git clone https://github.com/slastra/lastshell ~/.config/quickshell/lastshell
qs -c lastshell

The full working configuration, including the Hyprland Lua config, the daemons, and the engine scripts, lives in dots.

The greeter

sudo bash greeter/install.sh

This copies the greeter to /usr/local/share/lastshell-greeter and points /etc/greetd/config.toml at it, keeping the previous config as config.toml.regreet for rollback. greeter/harness.sh previews it in a nested Hyprland, in demo mode, where the password pass succeeds.

Usage

Surface Summon
Launcher (windows first by focus recency, then apps by frecency) qs -c lastshell ipc call overlays toggleLauncher
Tab switcher (every tab, every browser window, every workspace) toggleSwitcher
Workspace overview (every workspace in miniature, its windows pictured in place; drag a window to send it to another) toggleOverview
Audio sink picker toggleAudio
Per-app volume mixer toggleMixer
Wallpaper effect picker toggleEffects
Clipboard history toggleClipboard
Notification center toggleNotifications
Hotkey sheet toggleHotkeys
Storm radar (desk layout; needs deskwatch's news.storms) toggleRadar
Capture menu toggleCapture
Eco mode (laptop) toggleEco
Wi-Fi picker (laptop layout only) toggleWifi
Dictation, and dictation that presses Return after the paste toggleDictation, toggleDictationSubmit
Note composer for chit: title, body, checklist, files by paste, picker or drop (needs chitd; groceries: milk adds to a list) toggleChit

Bind them from your compositor config; the IPC calls are the whole interface.

Development

scripts/test-harness.sh runs the shell inside a nested Hyprland so development never touches the session you are sitting in. grim, wtype, and wlrctl all scope to the nested compositor. The nested output is painted black so screenshots diff cleanly between runs, and LASTSHELL_PATH=<checkout> runs another tree (a git worktree at an older commit) for a before/after baseline.

On the host, give the aquamarine window class a rule with workspace = "special:harness silent" and render_unfocused = true: the first keeps a run off your screen entirely, the second keeps the frame callbacks flowing so grim and wlrctl inside it do not hang.

License

MIT © 2026 Shaun Lastra. See LICENSE.