# Nugu Quickshell Named 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. `nugu.json` is kept in this directory so the named config is self-contained after dorkfiles symlinks it into `~/.config/quickshell/nugu`. Run directly: ```sh qs -p quickshell/nugu/shell.qml ``` Run named config after dorkfiles link: ```sh qs -c nugu ``` Run static self-contained checks and scaffold smoke without touching live links/services: ```sh quickshell/nugu/audit.sh quickshell/nugu/smoke.sh NUGU_QS_SMOKE_SCREENSHOT_DIR=/tmp/nugu-qs-theme-smoke quickshell/nugu/smoke.sh ``` The audit checks that required named-config files are present, QML imports stay local/Qt/Quickshell, every component has an early decision comment, local resources are audited, the bundled palette matches `hypr/generated/nugu.json`, and retired companion launchers are not executable dependencies. It intentionally warns while transitional `cliphist` and `makoctl` bridges remain; those warnings must disappear before final retirement. The smoke runner creates a temporary `HOME` and `XDG_CONFIG_HOME`, symlinks only this config as `quickshell/nugu`, runs the audit, starts `qs -c nugu`, checks Diagnostics/bar/theme/hideAll IPC, and cleans up its own `qs` process. When `NUGU_QS_SMOKE_SCREENSHOT_DIR` is set it saves cropped dark/light scaffold screenshots from the focused monitor; the crop is limited to the top-left rollout region to avoid full-desktop leakage. Diagnostics: ```sh qs ipc -c nugu call nugu showDiagnostics qs ipc -c nugu call nugu hideDiagnostics qs ipc -c nugu call nugu toggleDiagnostics qs ipc -c nugu call nugu reloadTheme qs ipc -c nugu call nugu setThemeMode light qs ipc -c nugu call nugu setThemeMode dark qs ipc -c nugu call nugu setThemeMode auto qs ipc -c nugu call nugu themeSource qs ipc -c nugu call nugu themeState qs ipc -c nugu call nugu scaffoldState qs ipc -c nugu call nugu hideAll ``` `setThemeMode light|dark` previews a mode without writing global state and without being overwritten by mode-file watches. `setThemeMode auto` follows `~/.cache/nugu/mode` again. `themeSource` returns `preview` or `auto`. `themeState` returns the current mode/source plus key Nugu tokens so smoke tests can prove real palette values, not just mode names. `scaffoldState` returns a compact JSON string for surface smoke tests, including the same source marker. `hideAll` closes all Quickshell-owned surfaces and disables the opt-in native notification loader; it does not touch Ironbar, Mako, Hyprland, or user services. ## Phase 2A bar IPC The bar is hidden by default while Ironbar remains the live bar. ```sh qs ipc -c nugu call nugu showBar qs ipc -c nugu call nugu hideBar qs ipc -c nugu call nugu toggleBar ``` Phase 2A only covers bar shell, workspaces, and clock. Full Ironbar parity requires later Phase 2B/2C plans. ## Phase 2B status widgets Phase 2B adds partial Ironbar status parity while Ironbar remains live: - MPRIS media text - iwd WiFi status - Bluetooth status - CPU percent - Pipewire volume/mute with scroll/right-click/middle-click wiring - Brightness percent with scroll wiring - UPower battery percent Still deferred to Phase 2C: tray, clipboard entry point, bind mode, notification bridge, inhibit, power popup, calendar popup, full visual comparison. ## Phase 2C bar surfaces Phase 2C adds the remaining Ironbar bar surfaces while Ironbar/Mako stay live: - system tray display/menu forwarding - clipboard entry popup backed by `cliphist` - hidden bind-mode widget for future Hypr submaps - Mako notification count/restore/dismiss bridge - idle inhibit display/toggle/duration cycle - power popup with lock live and destructive actions gated - clock calendar popup Still deferred: native notification daemon, launcher bind replacement, full clipboard picker bind replacement, OSDs, Hypr bind migration, and retiring old services. ## Phase 3 native notifications Phase 3 adds a native `NotificationServer`, disabled by default so it does not fight Mako. Controlled test flow: ```sh systemctl --user stop mako.service qs ipc -c nugu call nugu enableNativeNotifications notify-send "hello" "body" qs ipc -c nugu call nugu dismissNativeNotifications qs ipc -c nugu call nugu disableNativeNotifications systemctl --user start mako.service ``` Do not disable Mako in dotfiles until native notification parity is proven and rollback is verified. ## Phase 4A OSD IPC Phase 4A adds a Quickshell OSD surface before Hypr bind migration. This creates a stable replacement target for old `hyprctl notify` wrappers without changing live binds yet. ```sh qs ipc -c nugu call nugu showOsd 'Hyprland reloaded' info qs ipc -c nugu call nugu showVolumeOsd 42% qs ipc -c nugu call nugu showBrightnessOsd 77% qs ipc -c nugu call nugu hideOsd ``` Hypr binds still use the old helpers until the OSD command path is verified with real key events and screenshots. ## Phase 4B launcher IPC Phase 4B adds a native DesktopEntries launcher, still hidden until IPC opens it. This is the future `SUPER+Space` replacement for `hyprlauncher`, but the live bind is not migrated until filtering, keyboard navigation, and app launching are verified in the real session. ```sh qs ipc -c nugu call nugu openLauncher fire qs ipc -c nugu call nugu launcherVisible qs ipc -c nugu call nugu launcherMatchCount qs ipc -c nugu call nugu launcherFirstMatchName qs ipc -c nugu call nugu closeLauncher ``` ## Phase 4C clipboard picker IPC Phase 4C replaces only the picker frontend from the old pipeline: ```sh cliphist list | hyprlauncher --dmenu | cliphist decode | wl-copy ``` `cliphist` remains the storage backend. The picker passes the full selected `cliphist list` line to `cliphist decode`; passing only the numeric id does not decode correctly. ```sh qs ipc -c nugu call nugu openClipboardPicker query qs ipc -c nugu call nugu clipboardPickerVisible qs ipc -c nugu call nugu clipboardPickerMatchCount qs ipc -c nugu call nugu chooseClipboardIndex 0 qs ipc -c nugu call nugu closeClipboardPicker ``` ## Phase 4D power confirmation IPC Phase 4D adds the future `CTRL+ALT+Delete` target. The menu has the same action set as the current power surfaces but makes session/destructive actions two-step. Confirmed non-lock actions remain dry-run until final parity approval. ```sh qs ipc -c nugu call nugu openPowerMenu qs ipc -c nugu call nugu requestPowerAction reboot qs ipc -c nugu call nugu pendingPowerAction qs ipc -c nugu call nugu confirmPowerAction qs ipc -c nugu call nugu lastPowerAction qs ipc -c nugu call nugu closePowerMenu ``` ## Phase 4E OSD action IPC Phase 4E mirrors current `hyprctl notify` wrapper actions behind Quickshell IPC. Hypr binds are still unchanged until these commands pass live key-event tests. ```sh qs ipc -c nugu call nugu osdVolumeUp qs ipc -c nugu call nugu osdVolumeDown qs ipc -c nugu call nugu osdMuteAudio qs ipc -c nugu call nugu osdMuteMic qs ipc -c nugu call nugu osdBrightnessUp qs ipc -c nugu call nugu osdBrightnessDown qs ipc -c nugu call nugu osdMediaNext qs ipc -c nugu call nugu osdMediaToggle qs ipc -c nugu call nugu osdMediaPrev qs ipc -c nugu call nugu osdReloadHypr qs ipc -c nugu call nugu osdSessionLock qs ipc -c nugu call nugu osdSessionSuspendDryRun qs ipc -c nugu call nugu osdCaptureRegion qs ipc -c nugu call nugu osdCaptureWindow qs ipc -c nugu call nugu osdCaptureOutput qs ipc -c nugu call nugu osdCaptureAnnotate qs ipc -c nugu call nugu osdPickColor qs ipc -c nugu call nugu lastOsdAction ``` `osdSessionSuspendDryRun` records the sleep action and shows the OSD, but does not suspend. Capture/color IPC uses the existing external tools and must be validated interactively before bind migration. `lastOsdAction` reports `failed ...` when an external OSD command exits nonzero, so missing media players or failed capture commands do not look like verified success.