docs(quickshell): plan hypr companion migration
6691462213c96266746714d4b9f007ebb80f9cac
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 99fd822acf81
bugabingas dorkfiles
6691462213c96266746714d4b9f007ebb80f9cac
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+1244 / −0 text lines
new file mode 100644+320 / −0 text lines
# Quickshell Hypr Companion Baseline Inventory — 2026-06-17Goal source: reimplement Hypr companion apps in Quickshell with same features, same style/integration, dark/light mode, simpler Hypr config, better perf/looks, and retire obsolete apps only after verified parity.## Evidence collectedCommands run:- `git status --short`- `hyprctl version`- `hyprctl monitors -j`- `hyprctl binds -j`- `hyprctl configerrors`- `systemctl --user status ironbar.service ironbar-workspaces.service mako.service cliphist.service wl-clip-persist.service`- `ironbar --validate-config -c ~/.config/ironbar/config.json -t ~/.config/ironbar/style.css`- `ps -eo pid,pcpu,rss,comm,args | grep ...`Current repo state before inventory write:- Branch `trunk`, ahead 7.- Existing unrelated dirty/untracked state: `../Notes`, `../pi-ext`, `../pi/agent/settings.json`.- Do not overwrite/clean those.Installed/live baseline:- Hyprland `0.55.2`.- Quickshell `0.3.0-2` installed as `qs`/`quickshell`.- Ironbar `0.19.0-2` live and config validates.- Mako `1.11.0-1` live.- One monitor: `LVDS-1`, `1366x768`, scale `1`, active workspace `3` during inventory.- `hyprctl configerrors` empty.Current companion processes:| Process | RSS observed | Notes || --- | ---: | --- || `ironbar` | ~297660 KiB RSS in `ps`; systemd reports ~246.5 MiB current | High baseline target to beat. Logs show repeated MPRIS DBus closed errors. || `workspaces-watch.py` | ~16420 KiB RSS; systemd reports ~23.7 MiB | Exists only to feed Ironbar workspace labels. Quickshell should delete this process. || `mako` | ~23772 KiB RSS; systemd reports ~5.7 MiB | Notification daemon to replace after parity. || `cliphist` watcher | ~424 KiB systemd | Keep storage daemon unless Quickshell also stores history. Frontend replacement is separate. || `wl-clip-persist` | ~3.5 MiB systemd | Keep unless a Quickshell clipboard owner fully replaces it. || `hyprlauncher --dmenu` | ~228380 KiB RSS while open | Launcher/dmenu frontend replacement target. |## Current tracked companion filesHypr:- `hypr/hyprland.lua` loads modules.- `hypr/modules/apps.lua` defines app commands.- `hypr/modules/binds.lua` binds keys.- `hypr/modules/hypr_osd.lua` wraps control commands in `hyprctl notify`.- `hypr/modules/commands.lua` exposes app/workspace helpers for Ironbar actions.- `hypr/modules/workspaces.lua` defines workspaces `1..5` plus Ironbar uses `9`.- `hypr/scripts/theme.nu` switches Nugu mode and rewrites Mako/Ironbar runtime theme files.- `hypr/hyprtoolkit.conf` themes Hyprtoolkit apps (`hyprlauncher`, `hyprshutdown`, etc.).- `hypr/systemd/{ironbar,ironbar-workspaces,mako,cliphist,wl-clip-persist}.service` starts companion services.Ironbar:- `ironbar/config.json` defines bar layout, widgets, clicks, popups.- `ironbar/style.css` defines GTK CSS and Nugu semantic styling.- `ironbar/nugu.css` is generated current palette CSS vars.- `ironbar/scripts/workspaces-watch.py` tracks Hypr socket2 and feeds Ironbar vars.- `ironbar/scripts/mako-status.sh` polls Mako count.- `ironbar/scripts/wifi-status.sh` polls iwd status.Mako:- `mako/config` defines notification behavior/layout and includes `mako/nugu.conf`.- `mako/nugu.conf` is generated Nugu color/style fragment.Nugu:- `nugu/hypr.nu` generates `hypr/generated/nugu.{json,lua}`.- `nugu/ironbar.nu` generates Ironbar CSS vars.- `nugu/mako.nu` generates Mako theme fragment.- `nugu/justfile` currently generates but does not copy Mako/Ironbar output in its `mako`/`ironbar` recipes.## Exact Ironbar extractionExtracted from `ironbar/config.json` with `jq` on 2026-06-17.### Workspace labels| Var | Label || --- | --- || `ws1` | `1 ` || `ws2` | `2 ` || `ws3` | `3 ` || `ws4` | `4 ` || `ws5` | `5 ` || `ws9` | `9 ` |### Bar modules and actions| Section | Type/name | Format | Tooltip | Left/click | Middle | Right | Scroll up | Scroll down || --- | --- | --- | --- | --- | --- | --- | --- | --- || start | `custom workspace-switcher` | buttons from `ws1..ws5,ws9` | Workspaces: web code term chat media misc | `hyprctl eval 'require("modules.commands").workspace("N")'` per button | | | | || start | `clipboard` | max 5, truncate end 30 | | builtin popup/select | | | | || start | `bindmode` | truncate end 20 | | builtin display | | | | || center | `music` | `{title} / {artist}` | | builtin MPRIS | | | | || center | `clock` | `%H:%M` | | builtin calendar popup | | | | || end | `script mako-status` | `` or ` N` | Notifications: left restores last, right dismisses all | `makoctl restore` | | `makoctl dismiss --all` | | || end | `script wifi` | `` or ` off` | WiFi: left/middle opens impala | `hyprctl eval 'require("modules.commands").app("wifi")'` | same | | | || end | `bluetooth` | ``, ``, ``, ` {device_battery_percent}%` | Bluetooth: left/middle opens bluetui | `hyprctl eval 'require("modules.commands").app("bluetooth")'` | same | | | || end | `tray` | icon size 14 | | builtin tray menu | | | | || end | `sys_info` | ` {cpu_percent:1}%` | System monitor: left/middle opens btm | `hyprctl eval 'require("modules.commands").app("system_monitor")'` | same | | | || end | `volume` | builtin | Volume: scroll adjusts, right mutes, middle opens wiremix | | `hyprctl eval 'require("modules.commands").app("audio_mixer")'` | `wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle` | `wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 2%+` | `wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-` || end | `brightness` | ` {percentage}%` | Brightness: scroll adjusts display | builtin | | | builtin smooth scroll | builtin smooth scroll || end | `battery` | ` {percentage}%` | Battery: left/middle opens upower | `hyprctl eval 'require("modules.commands").app("battery")'` | same | | | || end | `inhibit` | on ` {duration}`, off ` {duration}` | Inhibit: left toggles, right cycles duration | builtin toggle | | builtin cycle | | || end | `custom power-menu` | `` | Power menu | popup toggle | | | | |### Power popup actions| Label | Command || --- | --- || ` off` | `!hyprshutdown --post-cmd "systemctl poweroff"` || ` reboot` | `!hyprshutdown --post-cmd "systemctl reboot"` || ` out` | `!hyprshutdown` || ` sleep` | `!loginctl lock-session && systemctl suspend` || ` lock` | `!hyprlock` |## Exact Mako extractionExtracted from `mako/config` on 2026-06-17.| Key | Value || --- | --- || `font` | `IBM Plex Sans 10` || `border-size` | `2` || `border-radius` | `12` || `padding` | `12,14` || `margin` | `8` || `outer-margin` | `14` || `anchor` | `top-right` || `layer` | `overlay` || `width` | `360` || `height` | `160` || `max-visible` | `4` || `max-history` | `80` || `sort` | `-priority` || `icons` | `1` || `max-icon-size` | `48` || `icon-border-radius` | `7` || `markup` | `1` || `actions` | `1` || `history` | `1` || `ignore-timeout` | `1` || `default-timeout` | `6500` || `format` | `%a\\n<b>%s</b>\\n%b` || `on-button-left` | `invoke-default-action` || `on-button-middle` | `dismiss-group` || `on-button-right` | `dismiss` || `[urgency=low] default-timeout` | `2500` || `[urgency=normal] default-timeout` | `6500` || `[urgency=critical] border-size` | `3` || `[urgency=critical] default-timeout` | `0` || `[grouped] format` | `%a · %g\\n<b>%s</b>\\n%b` || `[hidden] format` | `+%h more notifications` |## Hypr binds that touch companion apps| Bind | Current action | Replacement target || --- | --- | --- || `SUPER+Space` | `hyprlauncher` | Quickshell launcher IPC/window. || `SUPER+V` | `cliphist list | hyprlauncher --dmenu | cliphist decode | wl-copy` | Quickshell clipboard picker using `cliphist` backend or native history. || `CTRL+ALT+Delete` | `hyprshutdown --dry-run` | Quickshell power/logout window; keep dry-run semantics until explicit destructive action. || `SUPER+ALT+L` | `hyprctl notify` then `hyprlock` | Quickshell OSD/notification then existing lock, or later Quickshell lock. || `SUPER+ALT+S` | `hyprctl notify`, `loginctl lock-session`, `systemctl suspend` | Quickshell OSD/session action wrapper. || `SUPER+SHIFT+R` | `hyprctl reload` then `hyprctl notify` | Quickshell reload toast/OSD. || `SUPER+Escape` | `makoctl dismiss --all; hyprctl dismissnotify` | Quickshell notification dismiss-all plus Hypr notify clear during transition. || `XF86Audio*` | `wpctl`/`playerctl` plus `hyprctl notify` | Quickshell Pipewire/MPRIS OSD and direct service writes where possible. || `XF86MonBrightness*` | `brightnessctl` plus `hyprctl notify` | Quickshell brightness OSD; command boundary may stay `brightnessctl`. || `Print` variants | `hyprshot`/`satty`/`hyprpicker` plus `hyprctl notify` | Keep external capture tools; replace notification wrapper. |Core compositor/workspace/window binds are not companion-app scope and should stay in Hypr unless Quickshell global shortcuts prove cleaner.## Ironbar feature parity matrix| Surface | Current source | Current behavior | Quickshell parity requirement | Verification || --- | --- | --- | --- | --- || Bar shell | `ironbar/config.json`, `style.css` | Top bar, height `30`, transparent bg, `2px` accent bottom border, `20px` horizontal padding. | Per-monitor `PanelWindow`, top anchored, exclusive zone, IBM Plex Mono, same sizing/border/radius. | Screenshot compare dark/light; windows reserve top space. || Workspaces | `custom` widget + `workspaces-watch.py` | Buttons for `1 web`, `2 code`, `3 term`, `4 chat`, `5 media`, `9 misc`; active = important-global, occupied = fg, empty = muted; click focuses workspace via Hypr Lua. | Use `Quickshell.Hyprland` or Hypr socket service, no Python/Ironbar vars, same labels/colors/clicks. Include workspace `9` even though Hypr module list omits it. | Switch/open/move windows; active/occupied update instantly. || Clipboard bar item | Ironbar `clipboard` module | Shows clipboard menu, max 5, truncates 30 chars. | Clipboard picker popup/window. Backend decision: keep `cliphist` for storage first; frontend in Quickshell. | Copy items, open picker, select item to `wl-copy`, delete if current behavior supports deletion. || Bind mode | Ironbar `bindmode` | Shows current Hypr bind mode, truncates 20. | Hypr IPC/event state display if bind modes are used; otherwise match hidden/empty behavior. | Enter any bind mode if configured; visual appears. || Music | Ironbar `music`, MPRIS | Center text `{title} / {artist}`, truncate 42. Current live logs show repeated MPRIS DBus closed errors. | Use `Quickshell.Services.Mpris`; display active player title/artist; no 1Hz DBus error loop. | Play/pause media; title changes; idle hidden/empty cleanly; no log spam. || Clock | Ironbar `clock` | Center `%H:%M`, bold accent, calendar popup styled. | `SystemClock`, same text; popup calendar with readable Nugu styling. | Time update; popup readable in dark/light. || Notification status | `mako-status.sh` poll 5s | Icon `` when none; ` N` when active/history reports notifications; left restore last, right dismiss all. | Integrated notification daemon/status. No shell poll. Restore/history behavior must match or consciously supersede. | Send/restore/dismiss notifications. || WiFi status | `wifi-status.sh` poll 30s | Uses `iwctl station wlan0 show`; connected ``, disconnected ` off`; left/middle opens `impala`. | For first parity, process adapter or iwd/DBus adapter; same icon/action. Avoid NetworkManager dependency. | Toggle/disconnect/connected states; clicks open `impala`. || Bluetooth | Ironbar `bluetooth` | Status-only; disabled popup; left/middle opens `bluetui`; formats not_found/disabled/enabled/connected/battery. | Use `Quickshell.Services.Bluetooth`; same status and click actions; no ugly builtin popup. | Bluetooth off/on/connected/battery visible; clicks open `bluetui`. || Tray | Ironbar `tray` | Icon size 14; native tray popovers styled. | `Quickshell.Services.SystemTray` with menus via DBusMenu/QsMenuOpener, same icon sizing. | Existing tray icons render; menus work/readable. || CPU | Ironbar `sys_info` | ` {cpu_percent:1}%`, 2s interval; left/middle opens `btm`. | Lightweight CPU sampler every 2s; same display/click. | CPU value changes; click opens `btm`. || Volume | Ironbar `volume` | Scroll `wpctl` +/-2%, right mute, middle `wiremix`, no source display, tooltip. | Pipewire service state, scroll/click parity, maybe OSD sharing; middle opens `wiremix`. | Scroll changes volume; mute state; click opens `wiremix`; OSD if integrated. || Brightness | Ironbar `brightness` | ` {percentage}%`; systemd backlight `intel_backlight`; smooth scroll. | Backlight adapter, same display/scroll. `brightnessctl` boundary acceptable first. | Scroll/keys update; value matches system. || Battery | Ironbar `battery` | ` {percentage}%`; hidden if no BAT; warning <=20; critical <=5 discharging; click opens upower terminal. | UPower display device, same warning/critical/hidden behavior; click opens battery command or native popup. | Battery visible on X230; warning classes simulated or inspected. || Inhibit | Ironbar `inhibit` | Durations `30m/1h/2h/inf`, default `inf`, format on/off; left toggles, right cycles. | Quickshell idle inhibitor with duration cycle and visible countdown/state. | Toggle inhibits Hypr idle; duration cycles; sleep does not trigger while on. || Power menu | Ironbar custom popup | Button ``; popup actions poweroff/reboot/logout/sleep/lock; uptime line. | Quickshell popup/window with same actions and safer confirmation if needed; retain command semantics. | Open menu; non-destructive lock/sleep tested; destructive buttons dry-run or user-confirmed only. |## Mako notification parity matrix| Current Mako behavior | Requirement in Quickshell notification daemon || --- | --- || Top-right overlay, layer overlay, width `360`, height `160`, margin/outer-margin. | Same placement and size on `LVDS-1`, multi-monitor sane. || Font `IBM Plex Sans 10`; border `2`, radius `12`, padding `12,14`; icon max `48`, icon radius `7`. | Same typography and geometry using Nugu tokens. || `max-visible=4`, `max-history=80`, `sort=-priority`. | Same visible cap and history cap/order. || `markup=1`, `actions=1`, `history=1`, `ignore-timeout=1`. | Render markup safely; expose actions; retain history; notification timeout behavior equal. || `default-timeout=6500`; low `2500`; critical `0`. | Same expiration policy. || Format `%a\n<b>%s</b>\n%b`; grouped `%a · %g\n<b>%s</b>\n%b`; hidden `+%h more notifications`. | Same text content and grouped/overflow indicator. || Mouse: left invoke default action, middle dismiss group, right dismiss. | Same pointer actions. || Semantic colors from `mako/nugu.conf`: normal, low, critical, summary regex error/warn/info. | Same Nugu semantic mapping, dark/light live. || `makoctl dismiss --all`, `makoctl restore` used from binds/bar. | Quickshell IPC replacements for dismiss-all and restore-last/history. |## Launcher/clipboard/power parity matrix| Current app | Current use | Quickshell replacement boundary || --- | --- | --- || `hyprlauncher` | App launcher on `SUPER+Space`; dmenu frontend for clipboard. Theme from `hyprtoolkit.conf`. | Quickshell launcher must handle desktop app launching and dmenu-like list selection before removing `hyprlauncher` usage. || `cliphist` | Storage daemon and list/decode backend. | Keep daemon initially. Replace only frontend first. Full native clipboard history can be later if it beats `cliphist` without more complexity. || `hyprshutdown` | Graceful logout/power menu; dry-run in keybind, real commands in Ironbar popup. | Quickshell power menu can call `systemctl`/`hyprctl` directly. Use confirmation/dry-run while validating. || `hyprtoolkit.conf` | Theme for Hyprtoolkit apps. | Becomes obsolete when `hyprlauncher`/`hyprshutdown` are gone. Do not delete before then. |## Nugu dark/light parityCurrent state:- `hypr/generated/nugu.lua` reads `~/.cache/nugu/mode` and falls back to `dark`.- `hypr/scripts/theme.nu` supports `dark`, `light`, `toggle`, `auto`, `current`, `watch`.- Auto mode: light from `07:00` to `19:00`, dark otherwise; `~/.cache/nugu/auto` disables/enables.- Switcher writes: - `~/.cache/nugu/mode` - GTK `org.gnome.desktop.interface color-scheme` - `~/.config/mako/nugu.conf` - `~/.config/ironbar/nugu.css` - Hyprpaper wallpaper path `~/.config/hypr/wallpapers/nugu-{mode}.png` - `hyprctl reload` - restarts Mako and Ironbar - optional `notify-send`.Quickshell requirements:- Single Nugu theme service reads both palettes and mode state.- Use same semantic token names as Nugu/hypr/ironbar/mako now: `ui.*`, `content.*`, `error`, `warning`, `info`, `debug`.- Live switch all Quickshell surfaces without Ironbar/Mako restart.- Continue setting GTK color-scheme and Hyprland palette reload while Hypr config still uses Nugu.- Remove Ironbar/Mako theme generation only after their services are retired.Open simplification target:- Move mode state from `~/.cache/nugu` to `${XDG_STATE_HOME:-~/.local/state}/nugu` only if done across all consumers in one planned step.## Current style contract to preserve- Fonts: IBM Plex family exclusively in Hypr desktop configs. - Bar/status mono: `IBM Plex Mono`. - Notifications/toolkit UI sans: `IBM Plex Sans`.- Active UI: bg `ui.focus`, fg `content.backdrop`.- Hover/accent UI: bg `ui.accent`, fg `content.backdrop`.- Muted UI text: `ui.minor` over `ui.backdrop`.- Borders/accent lines: `ui.accent`.- Bar: compact brutal 30px top strip, no shadows/images, transparent-ish bg, accent bottom line.- Rounded corners: small `7px`, notification/popup large `12px`.## Retirement candidates and gateDo not retire until corresponding parity tests pass live.| Candidate | Can retire after || --- | --- || `ironbar.service` | Quickshell bar passes all Ironbar feature rows and screenshot review. || `ironbar-workspaces.service` | Quickshell workspace widget updates active/occupied instantly without Python/Ironbar vars. || `mako.service` | Quickshell notification daemon owns DBus notifications, actions, history, timeouts, styling, dismiss/restore IPC. || `hyprlauncher` usage | Quickshell launcher and dmenu/clipboard picker pass parity. || `hyprshutdown` usage | Quickshell power menu/logout actions pass parity. || `hyprtoolkit.conf` | No remaining Hyprtoolkit apps are bound/used. || `hyprctl notify` helpers in `hypr_osd.lua` | Quickshell OSD/notification IPC replaces all status toasts. || `hypr/scripts/theme.nu` Ironbar/Mako writes | Ironbar/Mako are retired or generation is removed from switcher. |Not immediate retirement targets without explicit design/confirmation:- `hyprlock` lockscreen.- `hypridle` idle policy.- `hyprsunset` blue-light filtering.- `hyprpolkitagent`.- `hyprpaper`/wallpaper handling.- `cliphist` storage daemon and `wl-clip-persist`.## Architecture implied by the inventoryOne named Quickshell config, likely `~/.config/quickshell/nugu`, should own:- Bar windows per monitor.- Notification daemon and notification history.- Launcher/dmenu/clipboard/power popups.- OSD windows for audio/brightness/media/session/screenshot status.- Shared services: - `ThemeService`: Nugu palette + mode + IPC switch/toggle. - `HyprService`: workspaces, clients, bind mode, dispatch helper. - `CommandService`: controlled process boundaries for `wezterm`, `impala`, `bluetui`, `btm`, `wiremix`, `hyprshot`, `satty`, `hyprpicker`, lock/suspend. - `ClipboardService`: `cliphist` adapter first. - `NotificationService`: Quickshell `NotificationServer` wrapper.Hypr Lua should later shrink to compositor config plus binds that call Quickshell IPC for companion surfaces.## Open questions for next design step1. Does `same feature as now` require replacing `hyprlock`/`hyprpaper`/`hypridle`, or are those compositor/session primitives allowed to remain?2. Should clipboard storage stay `cliphist` permanently, or is native Quickshell history desired if it stays simpler?3. Is launcher parity desktop-app launching only, or also arbitrary command/run mode?4. Destructive power actions: require confirmation UI, or mirror current single-click Ironbar buttons?## Next concrete subgoalCreate the Quickshell implementation design from this matrix, then build in safe phases:1. Scaffold named config with ThemeService + shared style tokens + empty bar.2. Replace Ironbar bar first while Mako/Hyprlauncher remain live.3. Replace Mako notifications second.4. Replace launcher/clipboard/power/OSD.5. Only then simplify Hypr binds and retire old services.new file mode 100644+609 / −0 text lines
# Quickshell Hypr Companions Phase 1 Foundation Implementation Plan> **For agentic workers:** REQUIRED SUB-SKILL: Use /skill:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.**Goal:** Add a safe named Quickshell `nugu` config with shared Nugu theme state, IPC skeleton, diagnostics, service wiring, and validation without replacing Ironbar or Mako.**Architecture:** Quickshell runs as one named config (`qs -c nugu`) from `~/.config/quickshell/nugu/shell.qml`. Phase 1 contains only a `Scope`, `Theme` service, IPC target, and a hidden diagnostics panel. Current desktop daemons remain authoritative.**Tech Stack:** Quickshell 0.3.0, QML/QtQuick, Nugu JSON palette from `hypr/generated/nugu.json`, systemd user service, dorkfiles symlink manifests.**Roadmap:** [`docs/super/roadmaps/2026-06-17-quickshell-hypr-companions-roadmap.md`](../roadmaps/2026-06-17-quickshell-hypr-companions-roadmap.md)**Phase:** Phase 1: Quickshell Foundation and Nugu Theme Service---## File StructureCreate:- `quickshell/nugu/shell.qml` — Quickshell entry point; owns root state and IPC.- `quickshell/nugu/Theme.qml` — Nugu palette/mode service for QML.- `quickshell/nugu/Diagnostics.qml` — hidden top diagnostic panel used to verify theme and IPC.- `quickshell/nugu/README.md` — run/verify notes for this config.- `hypr/systemd/quickshell.service` — user service for `qs -c nugu`.Modify:- `.gitignore` — ignore Quickshell LSP scratch file `.qmlls.ini`.- `x230.symlinks` — link Quickshell config and service into `$HOME`.- `enable_user_services.nu` — enable Quickshell only when `qs` exists.Do not modify:- `ironbar/`, `mako/`, `hypr/modules/*` behavior.- Existing service enablement for Ironbar/Mako.- Nugu generators.## Task 1: Add Quickshell config skeleton**Files:**- Create: `quickshell/nugu/shell.qml`- Create: `quickshell/nugu/Theme.qml`- Create: `quickshell/nugu/Diagnostics.qml`- Create: `quickshell/nugu/README.md`- Modify: `.gitignore`- [ ] **Step 1: Create the config directory**Run:```bashmkdir -p quickshell/nugu```Expected: directory exists.- [ ] **Step 2: Write `quickshell/nugu/Theme.qml`**Create this file exactly:```qmlimport QtQuickimport QuickshellQtObject { id: theme readonly property string modePath: `${Quickshell.env("HOME")}/.cache/nugu/mode` readonly property string paletteUrl: Qt.resolvedUrl("../../hypr/generated/nugu.json") property string mode: readMode() property var palettes: readJson(paletteUrl) property var palette: palettes[mode] || palettes.dark readonly property var content: palette.content readonly property var ui: palette.ui readonly property string error: palette.error readonly property string warning: palette.warning readonly property string info: palette.info readonly property string debug: palette.debug function readText(url) { const request = new XMLHttpRequest() request.open("GET", url, false) request.send() if (request.status === 0 || (request.status >= 200 && request.status < 300)) { return request.responseText } console.warn(`nugu: failed reading ${url}: ${request.status}`) return "" } function readJson(url) { const text = readText(url) if (text.length === 0) { return { "dark": fallbackDark(), "light": fallbackDark() } } return JSON.parse(text) } function readMode() { const text = readText(`file://${modePath}`).trim() return text === "light" ? "light" : "dark" } function reload(): void { palettes = readJson(paletteUrl) mode = readMode() palette = palettes[mode] || palettes.dark } function setMode(next: string): void { mode = next === "light" ? "light" : "dark" palette = palettes[mode] || palettes.dark } function fallbackDark() { return { "debug": "#ed5eed", "error": "#ec6376", "warning": "#f0ee69", "info": "#3ec5e3", "content": { "normal": "#ededed", "backdrop": "#121212", "accent": "#d151d1", "minor": "#8b8b8b", "focus": "#7ba1aa", "unfocus": "#5d5d5d", "important_local": "#b59ae4", "important_global": "#dfd3f3" }, "ui": { "normal": "#dbdbdb", "backdrop": "#242424", "accent": "#d86dd8", "minor": "#9d9d9d", "focus": "#9aabae", "unfocus": "#6f6f6f", "important_local": "#c9b6eb", "important_global": "#f3effb" } } }}```- [ ] **Step 3: Write `quickshell/nugu/Diagnostics.qml`**Create this file exactly:```qmlimport QtQuickimport QtQuick.Layoutsimport QuickshellPanelWindow { id: panel required property QtObject theme anchors { top: true; left: true } margins { top: 36; left: 10 } exclusiveZone: -1 implicitWidth: 360 implicitHeight: 96 color: "transparent" Rectangle { anchors.fill: parent radius: 7 color: `${panel.theme.ui.backdrop}ee` border.width: 2 border.color: panel.theme.ui.accent ColumnLayout { anchors.fill: parent anchors.margins: 12 spacing: 6 Text { Layout.fillWidth: true text: `Quickshell Nugu · ${panel.theme.mode}` color: panel.theme.ui.important_global font.family: "IBM Plex Mono" font.pixelSize: 13 font.bold: true elide: Text.ElideRight } RowLayout { Layout.fillWidth: true spacing: 8 Repeater { model: [ panel.theme.ui.backdrop, panel.theme.ui.normal, panel.theme.ui.accent, panel.theme.ui.focus, panel.theme.warning, panel.theme.error, panel.theme.info ] Rectangle { required property string modelData Layout.preferredWidth: 34 Layout.preferredHeight: 22 radius: 4 color: modelData border.width: 1 border.color: panel.theme.ui.unfocus } } } Text { Layout.fillWidth: true text: "IPC: qs -c nugu ipc call nugu toggleDiagnostics" color: panel.theme.ui.minor font.family: "IBM Plex Mono" font.pixelSize: 11 elide: Text.ElideRight } } }}```- [ ] **Step 4: Write `quickshell/nugu/shell.qml`**Create this file exactly:```qmlimport QtQuickimport Quickshellimport Quickshell.Ioimport "."Scope { id: root property bool diagnosticsVisible: false Theme { id: theme } IpcHandler { target: "nugu" function showDiagnostics(): void { root.diagnosticsVisible = true } function hideDiagnostics(): void { root.diagnosticsVisible = false } function toggleDiagnostics(): void { root.diagnosticsVisible = !root.diagnosticsVisible } function reloadTheme(): void { theme.reload() } function setThemeMode(mode: string): void { theme.setMode(mode) } } Diagnostics { visible: root.diagnosticsVisible theme: theme }}```- [ ] **Step 5: Write `quickshell/nugu/README.md`**Create this file exactly:```markdown# Nugu QuickshellNamed Quickshell config for Hypr companion replacement.Phase 1 is inert by default. It starts Quickshell, loads Nugu colors, and exposes diagnostics over IPC. It does not replace Ironbar or Mako.Run directly:```shqs -p quickshell/nugu/shell.qml```Run named config after dorkfiles link:```shqs -c nugu```Diagnostics:```shqs -c nugu ipc call nugu showDiagnosticsqs -c nugu ipc call nugu hideDiagnosticsqs -c nugu ipc call nugu toggleDiagnosticsqs -c nugu ipc call nugu reloadThemeqs -c nugu ipc call nugu setThemeMode lightqs -c nugu ipc call nugu setThemeMode dark``````- [ ] **Step 6: Ignore Quickshell LSP scratch files**Append this block to `.gitignore` if no equivalent exists:```gitignore# Quickshell LSP scratch/config generated by qs.**/.qmlls.ini```- [ ] **Step 7: Validate direct run parses**Run from repo root:```bashtimeout 3s qs -p quickshell/nugu/shell.qml >/tmp/nugu-qs-phase1.out 2>/tmp/nugu-qs-phase1.err; code=$?; printf 'exit=%s\n' "$code"; cat /tmp/nugu-qs-phase1.err```Expected:- Exit `124` from `timeout` is acceptable because `qs` keeps running.- No QML parse/type errors in stderr.- Warnings about DBus/session only need investigation if they prevent startup.- [ ] **Step 8: Commit scaffold**```bashgit add .gitignore quickshell/nugugit commit -m "feat(quickshell): add nugu shell foundation"```## Task 2: Add systemd service and dorkfiles links**Files:**- Create: `hypr/systemd/quickshell.service`- Modify: `x230.symlinks`- Modify: `enable_user_services.nu`- [ ] **Step 1: Write `hypr/systemd/quickshell.service`**Create this file exactly:```systemd[Unit]Description=Quickshell Nugu desktop companionsPartOf=graphical-session.targetAfter=graphical-session.target[Service]Environment=QS_NO_RELOAD_POPUP=1ExecStart=/usr/bin/qs -c nuguRestart=on-failureRestartSec=2Slice=session.slice[Install]WantedBy=graphical-session.target```- [ ] **Step 2: Add symlink manifest entries**In `x230.symlinks`, add these pairs after the existing `ironbar` config pair and before systemd service pairs:```textquickshell/nugu~/.config/quickshell/nugu```Add this service pair after `hypr/systemd/ironbar-workspaces.service`:```texthypr/systemd/quickshell.service~/.config/systemd/user/quickshell.service```- [ ] **Step 3: Add service to enable script**In `enable_user_services.nu`, add this row after `ironbar-workspaces`:```nu [quickshell qs quickshell.service]```Expected relevant block after edit:```nu [ironbar ironbar ironbar.service] [ironbar-workspaces python ironbar-workspaces.service] [quickshell qs quickshell.service]```- [ ] **Step 4: Validate service file syntax**Run:```bashsystemd-analyze --user verify hypr/systemd/quickshell.service```Expected: no output and exit `0`.- [ ] **Step 5: Do not run dorkfiles link automatically**Do not run `just link`, `just setup`, or `systemctl --user enable --now quickshell.service` in this plan unless the user explicitly approves mutating `$HOME`/live services.- [ ] **Step 6: Commit service wiring**Run:```bashgit add hypr/systemd/quickshell.service x230.symlinks enable_user_services.nugit commit -m "feat(quickshell): wire nugu user service"```## Task 3: Validate IPC with a temporary direct process**Files:**- No tracked file changes.- [ ] **Step 1: Start a temporary named config without systemd**Run from repo root:```bashmkdir -p ~/.config/quickshellln -sfn "$PWD/quickshell/nugu" ~/.config/quickshell/nuguQS_NO_RELOAD_POPUP=1 qs -c nugu >/tmp/nugu-qs-ipc.out 2>/tmp/nugu-qs-ipc.err &printf '%s\n' $! >/tmp/nugu-qs-ipc.pidsleep 1cat /tmp/nugu-qs-ipc.err```Expected: no QML parse/type errors.This command mutates one symlink under `~/.config/quickshell/nugu`; it is the same link the dorkfiles manifest will manage. If this is not acceptable in the live session, skip this task and validate after explicit link approval.- [ ] **Step 2: Show diagnostics via IPC**Run:```bashqs -c nugu ipc call nugu showDiagnosticssleep 1```Expected: small Nugu diagnostics panel appears near top-left. It does not reserve screen space and does not replace Ironbar.- [ ] **Step 3: Test dark/light IPC switching**Run:```bashqs -c nugu ipc call nugu setThemeMode lightsleep 1qs -c nugu ipc call nugu setThemeMode darksleep 1```Expected: diagnostics panel changes between light and dark palette colors.- [ ] **Step 4: Hide diagnostics**Run:```bashqs -c nugu ipc call nugu hideDiagnostics```Expected: diagnostics panel disappears.- [ ] **Step 5: Stop temporary Quickshell**Run:```bashkill "$(cat /tmp/nugu-qs-ipc.pid)"rm -f /tmp/nugu-qs-ipc.pid```Expected: no `qs -c nugu` process remains from this task.- [ ] **Step 6: Inspect process list**Run:```bashps -eo pid,pcpu,rss,comm,args | grep -E 'qs -c nugu|quickshell' | grep -v grep || true```Expected: no output after killing the temporary process.## Task 4: Phase 1 verification record**Files:**- Create: `docs/super/inventory/2026-06-17-quickshell-phase-1-verification.md`- [ ] **Step 1: Write verification record from command output**Run this after the validation commands above:```bashmkdir -p docs/super/inventory{ printf '# Quickshell Phase 1 Verification — 2026-06-17\n\n' printf '## Commands\n\n' printf -- '- `timeout 3s qs -p quickshell/nugu/shell.qml`\n' printf -- '- `systemd-analyze --user verify hypr/systemd/quickshell.service`\n' printf -- '- `qs -c nugu ipc call nugu showDiagnostics`\n' printf -- '- `qs -c nugu ipc call nugu setThemeMode light`\n' printf -- '- `qs -c nugu ipc call nugu setThemeMode dark`\n' printf -- '- `qs -c nugu ipc call nugu hideDiagnostics`\n\n' printf '## Results\n\n' printf '### Direct parse/start stderr\n\n```text\n' sed -n '1,120p' /tmp/nugu-qs-phase1.err 2>/dev/null || true printf '\n```\n\n' printf '### IPC stderr\n\n```text\n' sed -n '1,120p' /tmp/nugu-qs-ipc.err 2>/dev/null || true printf '\n```\n\n' printf '### Old service status\n\n```text\n' systemctl --user --no-pager --plain status ironbar.service mako.service 2>&1 | sed -n '1,100p' printf '\n```\n\n' printf '## Operator observations\n\n' printf -- '- Diagnostics panel appeared after `showDiagnostics`: recorded during execution.\n' printf -- '- Diagnostics panel changed colors after `setThemeMode light` and `setThemeMode dark`: recorded during execution.\n' printf -- '- Diagnostics panel disappeared after `hideDiagnostics`: recorded during execution.\n' printf -- '- Quickshell service was not enabled unless explicitly approved.\n'} > docs/super/inventory/2026-06-17-quickshell-phase-1-verification.md```Expected: the file exists and contains captured stderr/status blocks plus the operator observation lines.- [ ] **Step 2: Confirm old services still run**Run:```bashsystemctl --user --no-pager --plain status ironbar.service mako.service | sed -n '1,80p'```Expected: both still active if they were active before the phase.- [ ] **Step 3: Commit verification record**Run:```bashgit add docs/super/inventory/2026-06-17-quickshell-phase-1-verification.mdgit commit -m "docs(quickshell): record phase 1 verification"```## Task 5: Phase boundary check**Files:**- No tracked file changes unless a verification fix is needed.- [ ] **Step 1: Run final non-mutating checks**Run:```bashgit status --shorthyprctl configerrorssystemctl --user --no-pager --plain is-active ironbar.service mako.service```Expected:- Only intended commits or working tree state remain.- `hyprctl configerrors` empty.- `ironbar.service` and `mako.service` active.- [ ] **Step 2: Confirm Phase 1 scope did not replace live apps**Run:```bashsystemctl --user --no-pager --plain is-enabled ironbar.service ironbar-workspaces.service mako.service || truesystemctl --user --no-pager --plain is-enabled quickshell.service || true```Expected:- Existing services unchanged.- `quickshell.service` only enabled if the user explicitly approved enabling it.- [ ] **Step 3: Handoff to Phase 2 planning**Report:```textPhase 1 foundation is verified. Ironbar and Mako are still live. Next step: write the Phase 2 plan for Quickshell Ironbar bar parity.```Do not begin Phase 2 implementation in the same execution pass.## Plan validation noteBefore implementation, the planned `Theme.qml` + `Diagnostics.qml` + `shell.qml` shape was copied to a temporary `/tmp/pi-exp.qs-phase1.*` directory with `hypr/generated/nugu.json` and run with:```bashtimeout 3s qs -p /tmp/pi-exp.qs-phase1.*/quickshell/nugu/shell.qml```Observed result on 2026-06-17: exit `124` from `timeout`, empty stderr, temp directory deleted. That supports the Phase 1 QML parse/start shape on local Quickshell `0.3.0`.new file mode 100644+315 / −0 text lines
# Quickshell Hypr Companions Roadmap> **For agentic workers:** Use /skill:writing-plans to create one detailed implementation plan per phase. Start with Phase 1 and proceed sequentially unless the user explicitly changes the order.**Goal:** Reimplement the current Hypr companion app surface in one Quickshell config with verified feature parity, same Nugu style/dark-light behavior, simpler Hypr Lua config, and obsolete Ironbar/Mako/Hyprtoolkit frontends retired only after proof.**Design Spec:** [`docs/super/inventory/2026-06-17-quickshell-hypr-companion-baseline.md`](../inventory/2026-06-17-quickshell-hypr-companion-baseline.md)**Planning Strategy:** This is a multi-daemon desktop shell migration. Splitting by live-retirable surfaces keeps the current desktop usable after every phase: first create a Quickshell shell that changes nothing, then replace Ironbar, then Mako, then launchers/OSDs, then simplify Hypr and retire services. Each phase has a live parity gate before any old app is removed.---## Phase 1: Quickshell Foundation and Nugu Theme Service**Outcome:** A named Quickshell config exists and runs safely beside the current desktop. It has shared Nugu theme tokens, config layout, IPC skeleton, logging conventions, and one harmless visible/hidden diagnostic surface.**Why now:** Every later phase depends on shared theme, IPC, service boundaries, and a repeatable validation loop.**Scope:**- Create `quickshell/nugu/` config in the repo and symlink manifest entry.- Add a user systemd service for Quickshell, but do not replace Ironbar/Mako yet.- Implement the Nugu theme loader for dark/light palettes and current mode.- Establish shared dimensions/fonts/colors matching current Ironbar/Mako styling.- Add Quickshell IPC namespace for future calls from Hypr binds.- Add validation commands and screenshot procedure.**Out of scope:**- Replacing any live bar, notification daemon, launcher, lockscreen, wallpaper, idle, or polkit agent.- Removing Ironbar/Mako/Hyprtoolkit files.**Key files/areas likely affected:**- `quickshell/nugu/shell.qml`: Quickshell entry point.- `quickshell/nugu/services/Theme.qml`: Nugu palette/mode state.- `quickshell/nugu/components/`: shared UI primitives.- `hypr/systemd/quickshell.service`: user service.- `x230.symlinks`: link Quickshell config and service.- `enable_user_services.nu`: enable Quickshell when installed.**Dependencies:**- Quickshell `0.3.0` installed.- Existing Nugu palette files in `hypr/generated/nugu.json` or new generated Quickshell-friendly palette file.**Verification:**- `qs -p quickshell/nugu/shell.qml` starts without QML errors.- User service starts and stops without impacting Ironbar/Mako.- Dark/light tokens render a tiny diagnostic surface or logged values correctly.- No new long-running process replaces existing services yet.**Phase boundary health:** The live desktop remains exactly as before except for an optional inert Quickshell process. Old services still own bar/notifications.**Risks:**- QML import/API mismatch on Quickshell `0.3.0`; mitigate by validating each component with `qs -p` before service enable.- Palette duplication; mitigate by generating or reading one source format and using semantic names unchanged.**Context notes:** Keep files small. Avoid shell wrapper scripts. Do not use `childrenRect` for container sizing.## Phase 2: Ironbar Bar Parity in Quickshell**Outcome:** Quickshell renders a top bar matching current Ironbar layout, widgets, actions, style, and dark/light behavior while Ironbar remains available for rollback.**Why now:** Ironbar is the largest resource consumer and most obvious simplification target. It also deletes the separate Python workspace watcher.**Scope:**- Implement top per-monitor `PanelWindow` with same 30px height, IBM Plex Mono typography, accent bottom border, padding, radius, hover/focus colors.- Implement widgets: workspaces, clipboard entry point, bind mode, MPRIS, clock/calendar, notification status bridge, WiFi, Bluetooth, tray, CPU, volume, brightness, battery, inhibit, power menu.- Match current click/middle/right/scroll actions.- Use Quickshell services where stable: Hyprland, Pipewire, MPRIS, SystemTray, UPower, Bluetooth.- Use narrow process adapters where simpler: `iwctl`, `brightnessctl`, `wezterm` app launchers.- Keep Mako as notification daemon during this phase; notification status can call `makoctl` until Phase 3.**Out of scope:**- Owning notification DBus name.- Replacing `hyprlauncher` app launcher or clipboard dmenu flow beyond the bar clipboard entry point.- Stopping Ironbar services automatically.**Key files/areas likely affected:**- `quickshell/nugu/bar/Bar.qml`: panel layout.- `quickshell/nugu/bar/widgets/*.qml`: each widget isolated.- `quickshell/nugu/services/Hypr.qml`: workspace and bind mode state.- `quickshell/nugu/services/Commands.qml`: launch helpers.- `quickshell/nugu/services/Inhibit.qml`: idle inhibit state/durations.- `hypr/systemd/quickshell.service`: service stabilization.**Dependencies:**- Phase 1.- Current Ironbar matrix from baseline inventory.**Verification:**- Side-by-side screenshots against Ironbar in dark and light mode.- Interaction matrix: workspace click, tray menu, volume scroll/mute, brightness scroll, battery click, WiFi/Bluetooth clicks, inhibit cycle, power popup opens.- Resource comparison after settling: Quickshell bar vs `ironbar` + `workspaces-watch.py`.- No QML log spam comparable to current Ironbar MPRIS DBus error loop.**Phase boundary health:** Both bars may be run alternately. If Quickshell bar fails, Ironbar remains enabled and unchanged.**Risks:**- System tray menus are hard; mitigate by validating DBusMenu/QsMenuOpener early in the phase plan.- Inhibit parity may require Wayland idle inhibitor behavior checks; keep current idle config untouched until proven.- WiFi is iwd, not NetworkManager; do not add NetworkManager.**Context notes:** This phase can end with Ironbar still running. Retirement happens in Phase 5 after final visual/interaction approval.## Phase 3: Quickshell Notification Daemon Replacing Mako**Outcome:** Quickshell owns notifications with Mako-equivalent placement, style, actions, grouping/overflow, history, restore, dismiss-all, and dark/light colors.**Why now:** The bar's notification status and global dismiss/restore semantics need a native notification model before Mako can be retired.**Scope:**- Implement `NotificationServer` and notification popup stack.- Match Mako geometry: top-right, overlay, width 360, height 160, max visible 4, history 80.- Match Mako timeouts: low 2500ms, normal 6500ms, critical persistent.- Render app name, summary, body, icons, actions, grouped/overflow indicator, urgency colors, regex semantic colors.- Provide IPC for dismiss-all, restore-last/history, and notification status count.- Wire bar notification widget to native service instead of `makoctl`.**Out of scope:**- Replacing Hyprland `hyprctl notify` OSD helpers; Phase 4 handles OSDs.- Removing Mako files/services before live DBus ownership is verified.**Key files/areas likely affected:**- `quickshell/nugu/notifications/*.qml`: daemon and popup UI.- `quickshell/nugu/services/Notifications.qml`: history/actions/status.- `hypr/modules/hypr_osd.lua`: only transitional dismiss command may change after verification.- `hypr/systemd/mako.service`: retirement only at phase end if parity passes.- `enable_user_services.nu`, `x230.symlinks`: Mako retirement only after proof.**Dependencies:**- Phase 1.- Phase 2 if the bar status should be switched in the same phase.**Verification:**- `notify-send` normal/low/critical with body/icon/action tests.- Timeout measurements and critical persistence.- Mouse actions: left default action, middle dismiss group, right dismiss.- History restore and dismiss-all via Quickshell IPC.- Dark/light screenshots.- `mako.service` stopped manually for test; Quickshell receives notifications; rollback by restarting Mako.**Phase boundary health:** End either with Mako still enabled and no retirement, or with Quickshell notifications proven and Mako disabled in a reversible commit.**Risks:**- Notification action semantics may differ from Mako. Mitigate by explicit action test notifications.- Two notification daemons compete for DBus. Mitigate by only stopping Mako in controlled verification steps.**Context notes:** Never leave the system without a notification daemon unless the test explicitly requires it and Mako rollback is one command.## Phase 4: Launcher, Clipboard Picker, Power Menu, and OSD IPC**Outcome:** Hypr companion keybind frontends are Quickshell IPC calls instead of Hyprtoolkit apps or `hyprctl notify` wrappers.**Why now:** These surfaces depend on the foundation, theme, command service, and notification/OSD UI.**Scope:**- Implement Quickshell launcher for `SUPER+Space` with desktop app search/launch parity.- Implement dmenu-like list picker sufficient for clipboard history selection.- Keep `cliphist` storage initially; replace `hyprlauncher --dmenu` frontend.- Implement power/logout popup/window matching current Ironbar/hyprshutdown actions.- Implement OSDs for volume, mic mute, brightness, media, lock/suspend/reload, screenshot, color pick.- Add Quickshell IPC methods and migrate relevant Hypr binds to `qs -c nugu ipc call ...`.**Out of scope:**- Native clipboard storage replacing `cliphist`.- Replacing `hyprlock`, `hypridle`, `hyprpaper`, `hyprsunset`, or `hyprpolkitagent`.- Destructive power action execution without explicit confirmation behavior.**Key files/areas likely affected:**- `quickshell/nugu/launcher/*.qml`.- `quickshell/nugu/clipboard/*.qml`.- `quickshell/nugu/power/*.qml`.- `quickshell/nugu/osd/*.qml`.- `quickshell/nugu/services/Ipc.qml` or equivalent IPC handlers.- `hypr/modules/apps.lua`: replace `hyprlauncher`/`hyprshutdown`/clipboard commands.- `hypr/modules/binds.lua`: call Quickshell IPC for companion surfaces.- `hypr/modules/hypr_osd.lua`: shrink or delete after all helpers migrate.**Dependencies:**- Phase 1.- Phase 3 for notification/OSD visual infrastructure, unless OSD is implemented as separate popup service.**Verification:**- Launcher opens, filters, launches apps, closes on selection/escape.- Clipboard picker lists recent text, selects to clipboard, handles empty history.- Power menu lock/logout/sleep dry-run or confirmed behavior; no accidental poweroff/reboot.- Hardware media keys update state and show Quickshell OSD.- Screenshot/color actions still run and show Quickshell confirmation.- Hypr binds list shows simpler companion command targets.**Phase boundary health:** Old commands remain recoverable from git and packages. `cliphist` daemon remains live, so clipboard storage is not disrupted.**Risks:**- Launcher parity can grow large. Mitigate with desktop-app launching and clipboard dmenu parity first; arbitrary command mode only if current setup actually has it.- IPC command quoting can become messy. Mitigate by one stable helper command pattern and tests.**Context notes:** Prefer Quickshell IPC over adding scripts. Hypr Lua should only dispatch stable command strings.## Phase 5: Service Retirement and Hypr Config Simplification**Outcome:** Obsolete services/apps are disabled or removed from manifests only after parity proof. Hypr config is smaller and no longer carries companion-app implementation details.**Why now:** Retirement before parity risks breaking the live desktop. After Phases 2–4, old apps should be unused.**Scope:**- Disable/remove `ironbar.service` and `ironbar-workspaces.service` from symlink manifests and enable script after Quickshell bar passes approval.- Disable/remove `mako.service` after Quickshell notifications pass approval.- Remove `hyprlauncher` and `hyprshutdown` usage after launcher/power parity.- Remove or simplify `hypr/hyprtoolkit.conf` once no Hyprtoolkit apps remain in binds/bar.- Delete obsolete Ironbar workspace watcher/service and generated Ironbar/Mako theme writes only after no consumer remains.- Simplify `hypr/modules/apps.lua`, `hypr/modules/binds.lua`, `hypr/modules/hypr_osd.lua` to compositor binds plus Quickshell IPC calls.**Out of scope:**- Package uninstallation. That can be a separate manual cleanup after a stable period.- Replacing lock/wallpaper/idle/polkit unless Phase 6 approves it.**Key files/areas likely affected:**- `x230.symlinks`.- `enable_user_services.nu`.- `hypr/systemd/*` old service files.- `ironbar/`, `mako/` directories.- `hypr/modules/apps.lua`, `hypr/modules/binds.lua`, `hypr/modules/hypr_osd.lua`.- `hypr/scripts/theme.nu`, `nugu/ironbar.nu`, `nugu/mako.nu`, `nugu/justfile`.**Dependencies:**- Phase 2 approval for bar.- Phase 3 approval for notifications.- Phase 4 approval for launcher/clipboard/power/OSD.**Verification:**- `systemctl --user --type=service` shows Quickshell active and old retired services inactive/disabled as intended.- `grep` proves no remaining `hyprlauncher`, `hyprshutdown`, `ironbar`, `makoctl`, `hyprctl notify` usage in live paths except documented transitional/rollback docs.- Full interaction matrix passes with old services stopped.- Resource comparison shows fewer processes and lower or justified memory/CPU.- `just check` or relevant repo tests pass.**Phase boundary health:** The desktop has one Quickshell companion service plus still-valid compositor/session helpers. Removed services are no longer referenced.**Risks:**- Hidden references in scripts/docs/manifests. Mitigate with repo-wide grep and live service checks.- Generated Nugu recipes may still produce old files. Mitigate by updating recipes only when consumers are removed.**Context notes:** Preserve old files until replacements are proven. Deletion can be last commit of the phase.## Phase 6: Optional Deep Replacements Review**Outcome:** Decide explicitly whether Quickshell should also replace deeper Hypr ecosystem tools: lockscreen, wallpaper, idle integration, polkit agent, clipboard storage, or wallpaper/theme automation.**Why now:** The original objective says companion apps broadly, but replacing security/session primitives is riskier than replacing UI frontends. Make the decision only after the primary migration is stable.**Scope:**- Evaluate `hyprlock`, `hypridle`, `hyprpaper`, `hyprsunset`, `hyprpolkitagent`, `cliphist`, `wl-clip-persist` against the goal: simplification, better performance, better looks.- For each candidate, choose keep/replace/defer with evidence.- If replacing any candidate, create a separate roadmap/plan.**Out of scope:**- Implementing replacements in this phase.- Weakening lock/session/polkit safety.**Key files/areas likely affected:**- `hypr/hyprlock.conf`, `hypr/hypridle.conf`, `hypr/hyprsunset.conf`.- `hypr/systemd/cliphist.service`, `hypr/systemd/wl-clip-persist.service`.- `polkit/` and user service manifests if polkit is considered.- Quickshell lock/polkit/clipboard docs/examples if a later phase is approved.**Dependencies:**- Phases 1–5 complete and stable.- Explicit user approval for security/session replacements.**Verification:**- Written decision matrix with measured process/resource impact and risk.- If all are kept, document why they are no longer considered obsolete companion apps.- If any are selected for replacement, a new spec/roadmap starts before code.**Phase boundary health:** No system behavior changes. This is a decision phase.**Risks:**- Scope creep. Mitigate by forbidding implementation in this phase.- Security regressions from lock/polkit replacement. Mitigate by explicit separate approval and rollback path.**Context notes:** Keeping a small, correct Hypr helper may be simpler than recreating it in Quickshell. The goal is simplification, not maximal replacement.