Our Arch, so you can set it up yourself

A Hyprland desktop whose entire shell (bar, launcher, notifications, OSD, lock screen) is our own QML code, with a login screen and a theme switcher that re-tint everything at once. This guide tells you what to copy, what to adapt and, above all, what the style rules are so whatever you add fits in.

Hyprland 0.57 · Quickshell 0.3 · SDDM · updated 6 Dec 2026

Hand this to your clanker

Paste this message into Claude Code, Codex or whatever agent you use on your Arch. It reads the guide and our dotfiles, looks at your machine and sets it up with you in a few minutes, asking before it touches anything.

I want to set up the desktop from https://arch.perrocarril.com on my Arch. Read the whole guide and the AGENTS.md in https://github.com/GodGMN/arch-rice-dotfiles, look at my machine (monitors, GPU, keyboard, whether it's a laptop) and set it up with me step by step. Ask me before every sudo and before overwriting anything.

See the repo
The desktop with the Catppuccin theme: bar along the top merged with the frame and the system panel open in the right corner, with CPU and GPU rings, memory, disk and the graph of the last ten minutes.

What's on screen

Screenshots of the shell as is, with the Catppuccin theme. Everything comes out of the bar or floats in the middle, and everything changes colour with the theme.

What you get

It's not a package: it's dotfiles with stuff hard-wired to our machine. Budget an afternoon to adapt paths and strip out what you don't use.

PieceWhat it doesWhere it livesPortable
Hyprland (Lua config)Compositor, shortcuts, rules, autostart~/.config/hypr/yes
QuickshellBar, launcher with calculator, clipboard, notifications, OSD, system monitor, panels~/.config/quickshell/yes
Lock + idleLock screen (Super+L) and screen-off/lock on inactivity~/.config/quickshell-lock/, -idle/yes
SDDM hyperion-sddmLogin screen that follows the active themetheme-switcher/sddm-configs/yes, with root
theme-switcherRe-tints wallpaper, kitty, Hyprland, GTK, tmux, nvim, browser, Discord, shell, SDDM (and the RGB lights, if you want)~/.config/theme-switcher/yes, hacky
Token usage, calendar, weather, local modelDisplay data from a service of ours or from our local modelHyperion.qml, LocalModelPanel.qmlDIY
Cutout CamVirtual webcam with the background cut outseparate projectoptional

The core idea: the active theme's kitty.conf is the colour source for everything. Quickshell, the login screen and fcitx5 derive their palette from it, plus an optional palette.conf with the accent. Switching themes means changing a symlink and pinging each program.

Packages and requirements

An up-to-date Arch with Hyprland 0.57 or newer (the config is Lua; versions that use hyprland.conf can't read it) and Quickshell 0.3 or newer.

sudo pacman -S --needed \
  hyprland hyprpicker xdg-desktop-portal-hyprland xdg-desktop-portal-gtk \
  quickshell qt6-base qt6-declarative qt6-wayland qt6-svg qt6-imageformats \
  qt6-shadertools qt6-websockets qt6-positioning qt5ct \
  sddm kitty thunar polkit-kde-agent \
  pipewire pipewire-pulse wireplumber playerctl brightnessctl \
  networkmanager bluez bluez-utils \
  wl-clipboard wl-clip-persist cliphist grim slurp libnotify jq socat acl \
  pacman-contrib   # checkupdates, for the updates counter \
  adw-gtk-theme papirus-icon-theme \
  noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-jetbrains-mono-nerd \
  awww   # wallpaper daemon (successor to swww)

sudo systemctl enable NetworkManager bluetooth sddm
  • Shell fonts: Hanken Grotesk, IBM Plex Mono and JetBrainsMono Nerd Font. They go in ~/.local/share/fonts/; then fc-cache -f.
  • Optional: fcitx5 + fcitx5-mozc (switch to Japanese with Super+Space), tlp (laptop only: power profiles via tlp-pd), helium-browser-bin or brave-bin (theme switching changes their colour), Discord with Vencord (also follows the theme), yay (the updates counter also includes the AUR), nvidia-utils (GPU temperature and load in the system panel) and openrgb if you want your keyboard and mouse to change colour with the theme.
  • Don't start Dunst or Mako: Quickshell is the notification server.

Files and what to adapt

The desktop stuff lives in GodGMN/arch-rice-dotfiles: home/ mirrors your $HOME. Clone it and run ./install.sh: first it shows you what it would write, and with --yes it copies everything, saving whatever it replaces to ~/.dotfiles-backup/ and swapping our paths for yours.

.config/hypr/              hyprland.lua, tiling-recovery.lua, launch-origin.lua
.config/quickshell/        the shell
.config/quickshell-lock/   lock screen
.config/quickshell-idle/   idle (dpms + lock)
.config/theme-switcher/    themes, switch-theme.sh, SDDM
.config/kitty/kitty.conf   includes current-theme.conf
.config/tmux/theme.conf    tmux layout that reads the theme's palette
.local/bin/                hypr-scoped-workspace, launch-here, keyboard-toggle, screenshot-area,
                           cliphist-store-text, brave-theme-sync,
                           fcitx5-theme-sync, discord-theme-sync, theme-lights
.local/share/fonts/        shell fonts
Pictures/wallpapers/       the themes' wallpapers (linked from each theme)
  1. Install it.
    git clone https://github.com/GodGMN/arch-rice-dotfiles && cd arch-rice-dotfiles
    ./install.sh         # dry run: lists what it would write
    ./install.sh --yes   # copies, with backup, and replaces /home/sergio with your $HOME
  2. Monitors. At the top of hyprland.lua there's hl.monitor(...) with our screens and an if host == "theseus" block. Put in yours (hyprctl monitors all). On NVIDIA, keep its four hl.env lines.
  3. Keyboard. kb_layout = "es". No Japanese: remove QT_IM_MODULE/XMODIFIERS, the fcitx5 in autostart and the Super+Space bind.
  4. Autostart and rules. Remove our stuff: discord, syncthing, enquadre, xwayland-primary, the binds for Super+O, Super+Shift+M (mail), Ctrl+Space, Ctrl+Alt+V and F9 (dictation), and the rules for Discord, WoW, Steam and Cutout Cam. Keep the two wl-paste --watch and wl-clip-persist.
  5. Hyperion. Hyperion.qml points at a server on our network. Without it, AI and calendar say "unreachable"; everything else works. See Token usage and calendar. The robot button (local model) controls systemd units of ours: remove it too.
  6. Laptop or desktop. The desktop bar has no battery, Wi-Fi or brightness; CPU, RAM and GPU show up as three small meters that open the system panel (Ryzen CPU and NVIDIA GPU read by sensor name). If you're on a laptop, ask for the laptop variant.
  7. Apply a theme to create the symlinks: ~/.config/theme-switcher/switch-theme.sh Catppuccin.

Hyprland

Hyprland is just the compositor: almost every shortcut calls Quickshell over IPC (qs ipc call …), so the config is short. Reload with hyprctl reload.

~/.config/hypr/hyprland.lua, top to bottom:

  1. Loads the palette from themes.d/current-theme.lua (a theme-switcher symlink, wrapped in pcall). It only returns activeBorder, inactiveBorder, shadow, shadowInactive and borderSize.
  2. Monitors and a per-machine block (read from /etc/hostname).
  3. Environment (qt5ct, fcitx5, cursor).
  4. Mouse: middle click does not paste the primary selection (middle_click_paste = false); holding it and moving autoscrolls, like on Windows.
  5. hl.config({...}): keyboard, gaps 5/10, rounding 10, blur, dwindle layout.
  6. Shortcuts (hl.bind).
  7. Per-monitor workspaces: each screen gets a range of 10. Super+1…0 calls hypr-scoped-workspace, which goes to workspace N on the focused monitor. With a single screen it works without touching anything.
  8. Autostart and monitor.added (repaints the wallpaper on hot-plugged screens).
  9. Window and layer rules (blur behind the shell's panels).

tiling-recovery.lua patches a dwindle bug that made windows overlap; Super+Ctrl+R forces it by hand.

ShortcutAction
Super+RApp launcher
Alt+SpaceCalculator (the launcher in calculator mode)
Super+VClipboard history
Super+TTheme picker
Super+NNotification centre (also right-click on the gear)
Super+MSession menu
Super+LLock
Super+Q / C / E / BKitty / close window / Thunar / Firefox
Super+F / AFloating / full screen
Super+Shift+SRegion screenshot (Enquadre if installed; otherwise screenshot-area)
Super+IColour picker (hyprpicker)
Super+1…0 (+Shift)Go to / move to a workspace on the current monitor
Super+Shift+Q / EMove workspace to the left / right monitor
Volume and brightnessQuickshell OSD

Quickshell

Quickshell is a QML engine for building your own shell; it doesn't come with a bar. Everything in ~/.config/quickshell/ is our code, in three instances: shell, lock and idle.

# what Hyprland's autostart does
~/.config/quickshell/build-shaders.sh    # shaders/*.frag → .qsb (qt6-shadertools)
quickshell --no-duplicate --path ~/.config/quickshell
quickshell --no-duplicate --path ~/.config/quickshell-idle

Quickshell reloads itself on save. If something breaks: qs list gives you the instance id, and the log is at /run/user/$UID/quickshell/by-id/<id>/log.log. A good reload ends with Configuration Loaded.

The bar

The full bar, with gaps cut out: Arch logo on the left; tray icon and clock with date in the middle; on the right Claude and Codex usage, the local model robot, three meters, network icon, volume and gear.
  1. Arch opens the launcher and carries the number of updates. Next to it sit the monitor's workspaces.
  2. Tray and clock in the middle; the clock opens the calendar.
  3. AI: % left of each plan's week.
  4. Robot: local model, green when it's loaded.
  5. Meters for CPU, RAM and GPU, no numbers.
  6. Network: whether it reaches the Internet, with an amber or red warning.
  7. Volume: scroll to turn it up and down, click for the audio panel.
  8. Gear: settings; right-click for notifications.

File map

FileWhat it is
shell.qmlEntry point. Mounts the surfaces and defines the IpcHandler named shell
Theme.qmlAll the design tokens; derives the palette from the active theme. See The style
ShellState.qmlShared state: metrics, battery, power, notifications
Bar.qmlBar: workspaces, clock, tray, modules
Drawers.qml, Popover.qml, ShellShape.qmlThe frame and the panels that come out of the bar, drawn by a shader
Surface.qml, Platter.qml, StateLayer.qmlPrimitives: floating surface, tile, hover + ripple
Ring.qml, MeterBar.qml, Fader.qml, Toggle.qmlShared instruments and controls
PanelHeader.qml, HeaderButton.qmlSection header and its button (Quiet, Clear all, Refresh)
Launcher.qml, Calculator.jsApps by frecency + clipboard and calculator modes
NotificationCenter.qml, NotificationToast.qmlHistory, per-app muting, Quiet mode
Osd.qmlVolume, brightness and keyboard OSD
LevelsPanel, NetworkPanel, SystemPanel, SettingsPanel, SessionMenu, TrayMenuAudio, network/Bluetooth/VPN, CPU/GPU/disk, settings, session, tray menu
ThemeCarousel.qmlTheme picker; calls switch-theme.sh
Hyperion.qml, AiUsagePanel.qml, AiTokenGraph.qml, CalendarPanel.qml, LocalModelPanel.qmlThe stuff that depends on our backend or on the local model

Good to know

  • The bar (desktop). On the left, the Arch button (launcher) and the workspaces; in the middle, the clock, which opens the calendar; on the right, AI usage, local model, CPU/RAM/GPU meters, network, volume and the settings gear. There's no bell: an amber dot on the gear tells you there are notifications and right-click opens the centre.
  • Launcher. Lists the .desktop files sorted by frecency (each launch adds up and decays over time). History in launcher-history.json. If you type something that isn't an app, it runs it.
  • Calculator. Alt+Space opens the launcher in calculator mode, and typing a sum in the normal launcher also switches to that mode. Enter copies the result. It supports + - * / ^ % and brackets; the comma is the decimal separator. Calculator.js is our own parser and doesn't use eval(), because the same box runs commands.
  • Clipboard. The same launcher in clipboard mode. It needs the two wl-paste --watch from autostart (the text one goes through cliphist-store-text, which drops the UTF-16 junk browsers offer when you copy images). wl-clip-persist keeps what you copied even if you close the source app; without it, on Wayland Ctrl+V comes up empty.
  • Updates. The Arch button carries a number with the pending packages (checkupdates plus yay -Qua, every hour and without touching your databases). Right-click opens kitty with yay.
  • IPC. qs ipc show lists everything; for example qs ipc call shell launcher, qs ipc call osd volume up, qs ipc call theme reload.
  • Lock. WlSessionLock + PAM: your usual password. Colours and wallpaper from the theme.
  • Idle. 5 min locks, 6 turns screens off, 10 suspends, but only on battery (a desktop never suspends). Respects inhibitors. The timeout: values are in quickshell-idle/shell.qml.

The style

What makes the shell look like a designed object rather than a pile of widgets is a handful of rules, all in Theme.qml and four primitives. Stick to them and whatever you add fits in on its own, and changes theme for free too.

The principles

A single shape

Frame, bar and open panel are three distance fields merged with a smooth min in a shader. Where they meet there's a real fillet, not two overlapping rectangles. This page's frame imitates that.

Nobody makes up colours

Every colour comes from a token in Theme.qml, and the tokens come from the theme's kitty.conf. A literal colour in a panel is a bug: it won't change with the theme. The exception is data: in the system panel each thing has a fixed colour (GPU green, memory purple, disk amber) across the ring, the bar and the graph.

Raise, never sink

In dark themes surfaces get lighter towards the text colour, not towards black (that looks muddy and kills the tone). In light themes, the other way round.

One type scale

Six sizes, nothing below 11 px. There used to be fourteen ad-hoc sizes and the panels looked assembled, not designed.

One instrument per job

Every progress bar is MeterBar: 6 px tall, radius 3. Every gauge is Ring. Every draggable level (volume, gain, mixer) is Fader. Two different bars for the same thing look like two components.

Motion with inertia

Things that move use curves that overshoot a little and come back; things that only change opacity use another family. When you switch theme, colours cut, they don't fade.

Colour tokens

Derived live from whichever theme you've picked up top, with the same formulas as Theme.qml. Try YoRHa to see the light version.

  • bar is the tone of all the merged chrome (bar, frame, open panel). surface is for things that float on their own (launcher, toasts, OSD). Both opaque: translucency let terminal text show through from behind.
  • Inside a panel, group with platter (a borderless translucent veil with a glass edge on top) or card + cardBorder. The border is a whisper: the fill already does the grouping.
  • Dimmed text (textDim, textFaint) is mixed against the surface it sits on, not against the terminal background, so it never drops below 3:1.
  • On top of the accent goes onAccent: near-black if the accent is light, white if it's dark. A toggle's thumb uses switchKnob, not onAccent.

Typography

Hanken Grotesk for everything; IBM Plex Mono for figures that need to line up; JetBrainsMono Nerd Font only for icons (registered in Icons.qml). Text in sentence case, never all caps except section labels.

fontCaption 11Section labels, hints, metadata
fontLabel 12Secondary rows and readouts
fontBody 13Main rows
fontTitle 15Card titles, clock
fontHeading 18Panel headers
fontDisplay 2874%
fontHero 6014°

Shape and sizes

The shell can be rounder and softer than a website. 46 px bar, 12 px frame with an inner radius of 16 (it's that radius, not the thickness, that reads as a border), 1.25 px outline only around an open panel.

radiusTiny
6
radiusSmall
9
radiusMedium
13
radius
18
radiusLarge
22

Motion and interaction

Press the buttons on the bar below. The panel has no shape of its own: it comes out of the bar with the spatial curve, and going from one panel to another the same shape morphs instead of one closing and another opening. The content is already in place and the shape uncovers it.

12:00
Hover: 7 % veil. Press: 10 % ripple from the point you click (StateLayer.qml).
FamilyForCurveDuration
SpatialAnything that moves or resizes0.38, 1.21, 0.22, 1 (overshoots a little)420 ms · fast 320
EffectsThings that only fade or tint0.34, 0.8, 0.34, 1200 ms · 150 / 300
StandardEverything else0.2, 0, 0, 1—

Loose rules that matter

  • Bar blocks have no background at rest. Hover = veil; only the block whose panel is open gets the accent surface. Only the focused workspace is a pill.
  • Values that change have a fixed width (volume 42 px, brightness 38, CPU/RAM/battery 34, the network icon 34) so the bar doesn't jiggle when digits or state change.
  • Some Nerd Font glyphs aren't centred in their box: the gear gets a 1.5 px correction and the volume 1 px. If a new icon looks like it's floating, measure it on a zoomed-in screenshot before nudging it by eye.
  • Panels attached to a corner (attachRight/attachLeft) merge with the frame and inset their content by the frame's thickness.
  • Floating surfaces (Surface) scale from the module that opened them and get a shadow tinted with the palette, not 55 % black, which looked like a hole in dark themes.
  • OSDs appear top centre, under the bar, growing downwards. Toasts, bottom right.
  • Panels: titles at 15–18, figures at 28, icons and controls at 46–48 px, nothing below 12 except section headers.

Adding a module without breaking the style

  • Colours and sizes only from Theme.*; no stray "#..." or font size numbers.
  • Group with Platter; put a StateLayer on everything clickable. Headers with PanelHeader and their actions with HeaderButton.
  • If it's a panel, ask Popover for the shape (where and what size) instead of drawing your own rectangle.
  • Progress with Theme.meterHeight/meterRadius; gauges with Ring.
  • Animations with Theme.curveSpatial/curveEffects and their durations; colour Behaviors are disabled while Theme.switching.
  • Switch to YoRHa and CyberPunk before calling it done: if it reads at both extremes, it reads in all of them.

Login: SDDM

SDDM with a QML theme of our own (hyperion-sddm) that uses the active theme's colours and wallpaper. You set it up once with root; after that every theme change reaches it without root on the next logout.

The problem: the greeter runs as the sddm user, which can't read your $HOME (mode 700) or your fonts, and its theme.conf lives in /usr/share. setup-sddm.sh fixes it like this:

  1. Generates theme-switcher/sddm/live/theme.conf + background.png from the current theme.
  2. Gives sddm permission to traverse (not list) your home: setfacl -m u:sddm:x ~.
  3. Installs Main.qml and metadata.desktop in /usr/share/sddm/themes/hyperion-sddm/ and links its theme.conf to the one in sddm/live/.
  4. Sets Current=hyperion-sddm in /etc/sddm.conf.
  5. Copies the fonts to /usr/local/share/fonts/hyperion.
  6. Checks as sddm that everything is readable.
sudo ~/.config/theme-switcher/setup-sddm.sh                   # idempotent
~/.config/theme-switcher/preview-sddm.sh Catppuccin --test   # preview it without logging out

The power-off and reboot icons (images/) used to be copied from an old SDDM theme you don't have. They're in the export, in sddm-configs/images/: copy them to /usr/share/sddm/themes/hyperion-sddm/images/ if the script warns you. To roll back, change Current= in /etc/sddm.conf.

Themes

A theme is a folder in ~/.config/theme-switcher/themes/<Name>/; switching is switch-theme.sh <Name> or Super+T. It works fine, but it's the hackiest part: a shell script that goes program by program changing symlinks and sending signals.

ProgramHow it changes it
Wallpaperawww img wallpaper.png with a wipe transition
Kittysymlink kitty/current-theme.conf + SIGUSR1
Hyprlandsymlink hypr/themes.d/current-theme.lua + hyprctl reload
Neovimsymlink nvim/theme.lua + :ReloadTheme in every open nvim
tmuxsymlink tmux/current-theme.conf + source-file
GTKadw-gtk3 light or dark + Papirus, in settings.ini and gsettings
Brave / Heliumbrave-theme-sync writes the same colour policy to /etc/brave/policies/managed/ and /etc/chromium/policies/managed/ (Helium reads the Chromium path)
Discorddiscord-theme-sync writes Vencord's QuickCSS (surfaces, accent and a gradient); Vencord repaints it live
Quickshellqs ipc call theme reload: Theme.qml re-reads the kitty.conf
fcitx5fcitx5-theme-sync generates a skin for the popup
SDDMregenerates sddm/live/
Lights (optional)theme-lights paints keyboard, mouse and motherboard with OpenRGB according to the theme's lights.conf. It runs in its own unit (systemd-run --user) so it doesn't die when the carousel closes

The ugly bits, so they don't catch you out

  • Light or dark is decided by the name for GTK: if it contains Light (or is YoRHa, hard-coded). New light theme = add it to that case. The shell, on the other hand, detects it from the background's luminance.
  • The carousel image lives in a fixed map (artByTheme in Theme.qml).
  • Wallpapers are symlinks to ~/Pictures/wallpapers/….
  • Leftover files: waybar.css, dunst*, rofi.rasi, wlogout.css, hyprland.conf are from before; nothing reads them.
  • The browser needs /etc/brave/policies/managed/ (and /etc/chromium/policies/managed/ for Helium) to be writable by your user; otherwise that step fails without breaking anything. Same with Discord and the lights: if the script is missing, it skips it.

Creating a theme

  1. cp -r themes/Catppuccin themes/MyTheme
  2. Edit kitty.conf (background, text, 16 ANSI), palette.conf (accent and accentDeep), hyprland.lua (borders), tmux.conf and neovim.lua.
  3. Drop in your wallpaper.png.
  4. Add "MyTheme": "/path/art.png" to artByTheme.
  5. Optional: a lights.conf with the lights' colours (if there isn't one, it leaves them alone).
  6. ~/.config/theme-switcher/sddm-lib.sh regen-all
  7. ~/.config/theme-switcher/switch-theme.sh MyTheme

With just the background, the text and the accent you've got almost everything: the rest of the shell is derived. The theme pickers on this page do exactly that with those three colours.

Token usage and calendar

These panels don't compute anything: they display whatever an HTTP service of ours (Hyperion) gives them. We can't hand it over, but the contract is small: if your service answers these routes with this JSON, the panels work without touching any QML. You only change host in Hyperion.qml.

How the shell talks to the service

  1. On startup: GET /api/shell/snapshot and it opens a WebSocket to /ws.
  2. The service sends {"type": "ai.usage.updated"} over the socket (or calendar.*, alarms.*, acks.*). The shell only looks at the prefix and fetches the snapshot again. No polling.
  3. Token history separately: GET /api/ai-usage/spend?days=30, cached and revalidated on open if it's more than a minute old.
  4. Refresh: POST /api/shell/ai-usage/refresh.

The WebSocket is optional: without it, things only update on startup and on refresh.

GET /api/shell/snapshot

{
  "generatedAt": "2026-12-04T10:48:30Z",
  "aiUsage": {
    "refreshedAt": "2026-12-04T10:48:30Z",
    "providers": [
      { "id": "claude", "name": "Claude", "plan": "max",
        "status": "ok", "error": null,
        "windows": [
          { "label": "5 hours", "usedPercent": 8,
            "resetsAt": "2026-12-04T14:00:00Z", "windowSeconds": 18000 },
          { "label": "7 days", "usedPercent": 74,
            "resetsAt": "2026-12-05T21:00:00Z", "windowSeconds": 604800 }
        ] }
    ]
  },
  "calendar": { "next": null, "upcoming": [] },
  "weather":  { "current": null, "daily": [] },
  "alarms": [], "acks": []
}
  • status other than "ok" puts the card in an error state and shows error.
  • windowSeconds drives the red pace marker ("where you should be"); resetsAt: null hides it.
  • Colour and icon by name in Brand.qml (claude, codex, glm, gemini, opencode-go); an unknown one uses the accent.
  • The bar shows the % left of Claude's and Codex's weekly window; if a provider has no weekly window, the tightest one. The 5 h one only shows up in the panel.

GET /api/ai-usage/spend?days=30

{
  "days": [
    { "date": "2026-12-03", "tokens": 120000000, "costUsd": 40.0,
      "providers": [
        { "provider": "anthropic", "label": "Anthropic", "tokens": 90000000, "costUsd": 30.0 },
        { "provider": "openai",    "label": "OpenAI",    "tokens": 30000000, "costUsd": 10.0 }
      ] }
  ],
  "providers": [
    { "provider": "anthropic", "label": "Anthropic", "tokens": 90000000, "share": 0.75 }
  ]
}

What the graph uses is days[]; missing days are filled with zero. Every provider with a brand in Brand.qml gets its own band; the rest goes into "Other". Below it, a "Today" strip with the day's tokens split by provider; when you hover a day on the graph, the strip shows that day.

Where to get the data

  • Quota (usedPercent, resetsAt). Each provider exposes it its own way (subscription usage endpoints, rate-limit headers, the CLI itself). One fetcher per provider returning the shape above, run every few minutes.
  • Tokens per day. We aggregate them from the agent CLIs' sessions across several machines (input, cache and output per model) and price them with LiteLLM's public table. With one machine, reading locally is enough.
  • Service. Anything that serves JSON: a hundred-line FastAPI or Express app with a systemd --user. It can run on your PC (host: "127.0.0.1:3010").

Calendar and weather

Same pattern. CalendarPanel.qml requests each month with GET /api/calendar/events?from=<ISO>&to=<ISO> and reads calendar.next/upcoming and weather.current/daily from the snapshot. Each event has at least id, summary, startAt, endAt and allDay; weather has temp, conditionsLabel, icon (OpenWeatherMap codes) and locationName. You can serve it from an .ics or CalDAV.

Local model

The robot button doesn't talk to Hyperion: it reads the state of some systemd units of ours (a socket that starts the engine on the first request and stops it after 10 minutes idle) and, with the panel open, the engine's metrics. If you set up something similar (llama.cpp, Ollama…), adapt ShellState.localModelState and LocalModelPanel.qml; if not, remove localModelCluster from Bar.qml. Heads up if you adapt it: query systemd, not the HTTP endpoint, because every request wakes the model up.

If you don't want any of this, remove the clock button, the AI block and the robot one in Bar.qml. Better that than leaving panels saying "unreachable".

Optional: Cutout Cam

A virtual webcam with the background removed (blur, image or chroma key), NVIDIA Broadcast style. Discord, Meet or OBS see it as just another camera. It's a separate C++ project; if you're interested, we'll send you the repo.

  • Hardware: runs on Intel CPU/iGPU with OpenVINO; with NVIDIA it uses ONNX Runtime CUDA (onnxruntime-opt-cuda), about 5.5 ms per frame on an RTX 4070.
  • Setup: scripts/install-deps.sh, scripts/setup-loopback.sh (creates /dev/video10), scripts/download-models.sh, cmake -B build -G Ninja && ninja -C build.
  • Usage: ./build/cutout-cam --ui --open opens a web panel at 127.0.0.1:8710.
  • In the shell: without it, remove its card in SettingsPanel.qml or it'll sit there saying "Waiting for camera".

Cheat sheet and recovery

If all of this returns what you'd expect, the port is done.

hyprctl version | head -1                 # >= 0.57
hyprctl configerrors                      # empty
qs list                                   # quickshell and idle instances
tail -n 5 /run/user/$UID/quickshell/by-id/<id>/log.log   # "Configuration Loaded"
qs ipc show                               # targets shell, osd, theme…
notify-send test "hello"                  # toast bottom right
pgrep -af 'wl-paste.*cliphist'            # two watchers
pgrep -a wl-clip-persist                  # clipboard survives closing apps
qs ipc call shell calculator              # launcher in calculator mode
readlink ~/.config/kitty/current-theme.conf
SymptomFix
The bar doesn't show upquickshell --no-duplicate --path ~/.config/quickshell in a terminal and read the error
A QML edit breaks the reloadCheck the log, undo the edit; qmllint File.qml before saving
Panels with no outline or looking weirdqt6-shadertools is missing; re-run build-shaders.sh
Hyprland with the default configLua error: hyprctl configerrors
Copied stuff disappears when the app closeswl-clip-persist is missing from autostart
Screen with no wallpaperawww restore
Login with a flat backgroundRe-run sudo setup-sddm.sh and see what sddm can't read
Lock doesn't accept the passwordCheck /etc/pam.d/login; from another TTY, pkill -f quickshell-lock
AI or calendar "unreachable"Normal without a backend; see Token usage and calendar

It's all text in ~/.config: put it in git from day one (we use a bare repo at ~/.cfg with --work-tree=$HOME) and any change that breaks something is undone with a checkout.