1 +#
Quickshell Hypr Companions Phase 2C Bar Surfaces Implementation Plan 3 +> **For agentic workers:** REQUIRED SUB-SKILL: Use /skill:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
5 +**Goal:** Complete the remaining Ironbar bar-surface parity while Ironbar remains live: tray, clipboard entry, bind mode, Mako notification bridge, idle inhibit, power popup, calendar popup, and final visual comparison.
7 +**Architecture:** Keep Quickshell as a hidden-by-default named config controlled by IPC. Add focused widgets and popups inside `quickshell/nugu`, reuse the existing `Theme`, `Commands`, `StatusItem`, and `Bar` boundaries, and keep external services authoritative until later roadmap phases replace them.
9 +**Tech Stack:** Quickshell 0.3.0, QML/QtQuick, `Quickshell.Services.SystemTray`, `Quickshell.Wayland.IdleInhibitor`, `Quickshell.Io.Process`, `Quickshell.Hyprland`, `cliphist`, `makoctl`, `uwsm`, Nugu palette JSON.
11 +**Roadmap:** `docs/super/roadmaps/2026-06-17-quickshell-hypr-companions-roadmap.md`
13 +**Architecture Spec:** `docs/super/specs/2026-06-17-quickshell-hypr-companions-architecture.md`
15 +**API Inventory:** `docs/super/inventory/2026-06-17-quickshell-phase-2c-surface-api-inventory.md`
17 +**Parity Checklist:** `docs/super/inventory/2026-06-17-quickshell-parity-checklist.md`
19 +**Phase:** Phase 2C: Remaining bar surfaces
25 +This plan implements only the remaining Ironbar bar surfaces:
27 +- System tray display/menu forwarding.
28 +- Clipboard bar entry and tiny 5-row popup backed by `cliphist`.
29 +- Bind mode widget, hidden unless Hypr emits a submap event.
30 +- Notification status bridge backed by Mako, while Mako remains the daemon.
31 +- Idle inhibit widget backed by Wayland idle-inhibit protocol.
32 +- Power popup with lock active and destructive actions gated as dry-run/confirmation text.
33 +- Calendar popup on clock click.
34 +- Dark/light screenshots and visual comparison with Ironbar still running.
38 +- Native Quickshell notification daemon replacing Mako.
39 +- Launcher replacement.
40 +- Full clipboard picker replacing `hyprlauncher --dmenu` bind.
42 +- Hypr bind migration.
43 +- Stopping/disabling Ironbar, Mako, hyprlauncher, or hyprshutdown.
45 +Phase boundary: after this plan, Quickshell bar parity should be broad enough for human visual review while Ironbar remains recoverable and authoritative.
47 +Execution amendment: popup surfaces were implemented with anchored `PopupWindow` instead of nested `PanelWindow` after live validation showed nested panel popups toggled button state but did not render above app content reliably. `PopupWindow` is the correct Quickshell primitive for clipboard/calendar/power popovers.
53 +- `quickshell/nugu/TrayWidget.qml` — SystemTray icons and native menu forwarding.
54 +- `quickshell/nugu/ClipboardWidget.qml` — compact entry and 5-row popup.
55 +- `quickshell/nugu/BindModeWidget.qml` — Hypr submap status, hidden by default.
56 +- `quickshell/nugu/NotificationBridgeWidget.qml` — Mako count/restore/dismiss bridge.
57 +- `quickshell/nugu/InhibitWidget.qml` — idle-inhibit state/duration control.
58 +- `quickshell/nugu/PowerWidget.qml` — power button and popup.
59 +- `quickshell/nugu/CalendarPopup.qml` — small month popup used by the clock.
63 +- `quickshell/nugu/Commands.qml` — add power/clipboard/notification command helpers.
64 +- `quickshell/nugu/ClockWidget.qml` — open/close calendar popup on click.
65 +- `quickshell/nugu/Bar.qml` — add new widgets in Ironbar-compatible positions and attach idle inhibitor to bar window.
66 +- `quickshell/nugu/README.md` — document Phase 2C coverage and deferred replacements.
75 +##
Task 1: Extend command boundary 79 +- Modify: `quickshell/nugu/Commands.qml`
81 +- [ ] **Step 1: Replace `Commands.qml` with the Phase 2C command boundary**
93 + // Keep all external process launches behind one object so widgets stay
94 + // declarative and future Hypr bind migration has one command boundary.
95 + property string sessionSlice: "session-graphical.slice"
96 + property string workSlice: "work.slice"
97 + property string lastClipboardPreview: ""
98 + property bool lastClipboardCopied: false
99 + property string lastPowerAction: ""
101 + function detached(args: var): void {
102 + runner.command = args
103 + runner.startDetached()
106 + function uwsm(slice: string, args: var): var {
107 + return ["uwsm", "app", "-s", slice, "--"].concat(args)
110 + function tui(slice: string, name: string): void {
111 + detached(uwsm(slice, ["wezterm", "start", "--class", name, "--", name]))
114 + function openWifi(): void { tui(sessionSlice, "impala") }
115 + function openBluetooth(): void { tui(sessionSlice, "bluetui") }
116 + function openSystemMonitor(): void { tui(workSlice, "btm") }
117 + function openAudioMixer(): void { tui(sessionSlice, "wiremix") }
119 + function openBattery(): void {
120 + detached(uwsm(sessionSlice, [
121 + "wezterm", "start", "--class", "battery", "--",
122 + "nu", "-c", "loop { clear; upower -i /org/freedesktop/UPower/devices/battery_BAT0; sleep 2sec }"
126 + function restoreNotification(): void {
127 + detached(["makoctl", "restore"])
130 + function dismissNotifications(): void {
131 + detached(["makoctl", "dismiss", "--all"])
134 + function copyClipboardEntry(encoded: string, preview: string): void {
135 + lastClipboardPreview = preview
136 + clipboardCopy.command = ["sh", "-c", "printf '%s\\n' \"$1\" | cliphist decode | wl-copy", "sh", encoded]
137 + clipboardCopy.running = true
140 + function lock(): void {
141 + lastPowerAction = "lock"
142 + detached(["hyprlock"])
145 + function dryRunPower(action: string): void {
146 + // Phase 2C must not power off, reboot, logout, or suspend during tests.
147 + // Later phases can replace this with a confirmed execution path.
148 + lastPowerAction = `dry-run ${action}`
151 + Process { id: runner }
155 + onExited: (exitCode, exitStatus) => { root.lastClipboardCopied = exitCode === 0 }
160 +- [ ] **Step 2: Parse-check**
165 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-commands.out
2>/tmp/nugu-qs-2c-commands.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create' /tmp/nugu-qs-2c-commands.out
| sed -n
'1,180p' 168 +Expected: exit `124`, `Configuration Loaded`, and no QML parse/type errors.
170 +##
Task 2: Add notification bridge widget 174 +- Create: `quickshell/nugu/NotificationBridgeWidget.qml`
175 +- Modify: `quickshell/nugu/Bar.qml`
177 +- [ ] **Step 1: Write `NotificationBridgeWidget.qml`**
181 +import Quickshell.Io
187 + required property QtObject commands
189 + property int count: 0
191 + text: count > 0 ? ` ${count}` : ""
193 + minWidth: count > 0 ? 42 : 24
195 + // Mako remains the notification daemon in Phase 2C. Polling is temporary and
196 + // intentionally isolated so Phase 3 can swap in native notification state.
197 + onLeftClicked: commands.restoreNotification()
198 + onRightClicked: commands.dismissNotifications()
204 + triggeredOnStart: true
205 + onTriggered: poll.exec(["sh", "-c", "makoctl list 2>/dev/null | grep -c '^Notification '"])
210 + stdout: StdioCollector {
211 + onStreamFinished: root.count = parseInt(this.text.trim() || "0", 10)
217 +- [ ] **Step 2: Add notification widget to `Bar.qml` right section before WiFi**
219 +In the end `RowLayout`, place this before `WifiWidget`:
222 + NotificationBridgeWidget { theme: root.theme; commands: root.commands }
225 +- [ ] **Step 3: Parse-check**
230 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-notifications.out
2>/tmp/nugu-qs-2c-notifications.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|NotificationBridgeWidget|mako' /tmp/nugu-qs-2c-notifications.out
| sed -n
'1,220p' 233 +Expected: exit `124`, no QML errors.
235 +##
Task 3: Add bind mode widget 239 +- Create: `quickshell/nugu/BindModeWidget.qml`
240 +- Modify: `quickshell/nugu/Bar.qml`
242 +- [ ] **Step 1: Write `BindModeWidget.qml`**
246 +import Quickshell.Hyprland
252 + property string mode: ""
254 + text: mode.length > 0 ? ` ${mode}` : ""
255 + active: mode.length > 0
258 + // Current Hypr Lua config has no submaps, so parity is hidden state. Listening
259 + // now preserves future bind-mode behavior without adding Hypr config.
262 + function onRawEvent(event) {
263 + if (event.name !== "submap") return
264 + const parsed = event.parse(1)
265 + root.mode = parsed.length > 0 ? parsed[0] : ""
271 +- [ ] **Step 2: Add bind mode widget to `Bar.qml` left section after workspaces**
273 +In the left `RowLayout`, place after `WorkspaceWidget`:
276 + BindModeWidget { theme: root.theme }
279 +- [ ] **Step 3: Parse-check**
284 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-bindmode.out
2>/tmp/nugu-qs-2c-bindmode.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|BindModeWidget|rawEvent' /tmp/nugu-qs-2c-bindmode.out
| sed -n
'1,220p' 287 +Expected: exit `124`, no QML errors. Widget is hidden because current Hypr config has no submap.
289 +##
Task 4: Add idle inhibit widget 293 +- Create: `quickshell/nugu/InhibitWidget.qml`
294 +- Modify: `quickshell/nugu/Bar.qml`
296 +- [ ] **Step 1: Write `InhibitWidget.qml`**
305 + property bool inhibiting: false
306 + property int durationIndex: 3
307 + readonly property var durations: [
308 + { "label": "30m", "milliseconds": 30 * 60 * 1000 },
309 + { "label": "1h", "milliseconds": 60 * 60 * 1000 },
310 + { "label": "2h", "milliseconds": 2 * 60 * 60 * 1000 },
311 + { "label": "inf", "milliseconds": 0 }
313 + readonly property var duration: durations[durationIndex]
315 + text: `${inhibiting ? "" : ""} ${duration.label}`
319 + signal inhibitChanged(bool enabled)
322 + inhibiting = !inhibiting
323 + inhibitChanged(inhibiting)
328 + durationIndex = (durationIndex + 1) % durations.length
329 + if (inhibiting) expiry.restart()
334 + interval: root.duration.milliseconds
336 + running: root.inhibiting && root.duration.milliseconds > 0
338 + root.inhibiting = false
339 + root.inhibitChanged(false)
345 +- [ ] **Step 2: Wire `IdleInhibitor` into `Bar.qml`**
350 +import Quickshell.Wayland
353 +Near the top of `PanelWindow`, add:
356 + property bool idleInhibited: false
360 + enabled: root.idleInhibited
364 +In the end `RowLayout`, place after `NotificationBridgeWidget`:
369 + onInhibitChanged: enabled => root.idleInhibited = enabled
373 +- [ ] **Step 3: Parse-check**
378 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-inhibit.out
2>/tmp/nugu-qs-2c-inhibit.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|IdleInhibitor|InhibitWidget' /tmp/nugu-qs-2c-inhibit.out
| sed -n
'1,240p' 381 +Expected: exit `124`, no QML errors.
383 +##
Task 5: Add tray widget 387 +- Create: `quickshell/nugu/TrayWidget.qml`
388 +- Modify: `quickshell/nugu/Bar.qml`
390 +- [ ] **Step 1: Write `TrayWidget.qml`**
394 +import QtQuick.Layouts
395 +import Quickshell.Services.SystemTray
396 +import Quickshell.Widgets
401 + required property QtObject theme
402 + required property var parentWindow
405 + visible: SystemTray.items.values.length > 0
407 + // Phase 2C uses native tray item activation/menu forwarding. Custom DBusMenu
408 + // rendering can wait until a concrete tray app proves native menus insufficient.
410 + model: SystemTray.items
414 + required property var modelData
416 + Layout.preferredWidth: 22
417 + Layout.preferredHeight: 22
420 + anchors.fill: parent
422 + color: mouse.containsMouse ? root.theme.ui.accent : "transparent"
426 + anchors.centerIn: parent
428 + source: modelData.icon
433 + anchors.fill: parent
435 + acceptedButtons: Qt.LeftButton | Qt.MiddleButton | Qt.RightButton
436 + onClicked: event => {
437 + if (event.button === Qt.RightButton || modelData.onlyMenu) {
438 + modelData.display(root.parentWindow, itemRoot.x, itemRoot.y + itemRoot.height)
439 + } else if (event.button === Qt.MiddleButton) {
440 + modelData.secondaryActivate()
442 + modelData.activate()
445 + onWheel: event => modelData.scroll(event.angleDelta.y, false)
452 +- [ ] **Step 2: Add tray widget to `Bar.qml` right section before notification bridge**
455 + TrayWidget { theme: root.theme; parentWindow: root }
458 +- [ ] **Step 3: Parse-check**
463 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-tray.out
2>/tmp/nugu-qs-2c-tray.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|SystemTray|TrayWidget|IconImage' /tmp/nugu-qs-2c-tray.out
| sed -n
'1,260p' 466 +Expected: exit `124`, no QML errors.
468 +##
Task 6: Add clipboard entry popup 472 +- Create: `quickshell/nugu/ClipboardWidget.qml`
473 +- Modify: `quickshell/nugu/Bar.qml`
475 +- [ ] **Step 1: Write `ClipboardWidget.qml`**
479 +import QtQuick.Layouts
480 +import Quickshell.Io
486 + required property QtObject theme
487 + required property QtObject commands
489 + property bool open: false
490 + property var entries: []
492 + implicitWidth: button.implicitWidth
493 + implicitHeight: button.implicitHeight
495 + function refresh(): void {
496 + list.exec(["sh", "-c", "cliphist list | head -n 5"])
506 + root.open = !root.open
507 + if (root.open) root.refresh()
510 + root.open = !root.open
511 + if (root.open) root.refresh()
517 + anchors { top: true; left: true }
518 + margins { top: 36; left: 10 }
521 + implicitHeight: Math.max(48, entries.length * 34 + 16)
522 + color: "transparent"
525 + anchors.fill: parent
527 + color: `${root.theme.ui.backdrop}f2`
529 + border.color: root.theme.ui.accent
532 + anchors.fill: parent
537 + model: root.entries
540 + required property var modelData
541 + Layout.fillWidth: true
543 + text: modelData.preview
546 + root.commands.copyClipboardEntry(modelData.encoded, modelData.preview)
553 + visible: root.entries.length === 0
554 + text: "clipboard empty"
555 + color: root.theme.ui.minor
556 + font.family: "IBM Plex Mono"
565 + stdout: StdioCollector {
566 + onStreamFinished: {
567 + root.entries = this.text.trim().length === 0 ? [] : this.text.trim().split("\n").map(line => {
568 + const tab = line.indexOf("\t")
569 + const encoded = tab >= 0 ? line.slice(0, tab) : line
570 + const raw = tab >= 0 ? line.slice(tab + 1) : line
571 + const compact = raw.replace(/\s+/g, " ")
572 + const preview = compact.length > 30 ? `${compact.slice(0, 27)}…` : compact
573 + return { "encoded": encoded, "preview": preview }
581 +- [ ] **Step 2: Add clipboard widget to `Bar.qml` left section before workspaces**
584 + ClipboardWidget { theme: root.theme; commands: root.commands }
587 +- [ ] **Step 3: Parse-check**
592 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-clipboard.out
2>/tmp/nugu-qs-2c-clipboard.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|ClipboardWidget|cliphist' /tmp/nugu-qs-2c-clipboard.out
| sed -n
'1,260p' 595 +Expected: exit `124`, no QML errors.
597 +##
Task 7: Add calendar popup 601 +- Create: `quickshell/nugu/CalendarPopup.qml`
602 +- Modify: `quickshell/nugu/ClockWidget.qml`
604 +- [ ] **Step 1: Write `CalendarPopup.qml`**
608 +import QtQuick.Layouts
614 + required property QtObject theme
615 + property date shownDate: new Date()
617 + anchors { top: true; horizontalCenter: true }
618 + margins { top: 36 }
621 + implicitHeight: 220
622 + color: "transparent"
624 + readonly property date firstOfMonth: new Date(shownDate.getFullYear(), shownDate.getMonth(), 1)
625 + readonly property int firstDay: (firstOfMonth.getDay() + 6) % 7
626 + readonly property int daysInMonth: new Date(shownDate.getFullYear(), shownDate.getMonth() + 1, 0).getDate()
627 + readonly property int today: new Date().getDate()
628 + readonly property bool currentMonth: shownDate.getFullYear() === new Date().getFullYear() && shownDate.getMonth() === new Date().getMonth()
631 + anchors.fill: parent
633 + color: `${root.theme.ui.backdrop}f2`
635 + border.color: root.theme.ui.accent
638 + anchors.fill: parent
639 + anchors.margins: 10
643 + Layout.fillWidth: true
644 + text: Qt.formatDate(root.shownDate, "MMMM yyyy")
645 + color: root.theme.ui.important_global
646 + font.family: "IBM Plex Mono"
649 + horizontalAlignment: Text.AlignHCenter
653 + Layout.fillWidth: true
659 + model: ["Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"]
661 + required property string modelData
663 + color: root.theme.ui.minor
664 + font.family: "IBM Plex Mono"
666 + horizontalAlignment: Text.AlignHCenter
667 + Layout.preferredWidth: 28
674 + required property int index
675 + readonly property int day: index - root.firstDay + 1
676 + Layout.preferredWidth: 28
677 + Layout.preferredHeight: 22
679 + color: root.currentMonth && day === root.today ? root.theme.ui.focus : "transparent"
682 + anchors.centerIn: parent
683 + text: parent.day >= 1 && parent.day <= root.daysInMonth ? parent.day : ""
684 + color: parent.color !== "transparent" ? root.theme.content.backdrop : root.theme.ui.normal
685 + font.family: "IBM Plex Mono"
696 +- [ ] **Step 2: Replace `ClockWidget.qml` with popup-enabled clock**
706 + required property QtObject theme
707 + property bool calendarVisible: false
709 + implicitWidth: button.implicitWidth
710 + implicitHeight: button.implicitHeight
715 + text: Qt.formatTime(clock.date, "HH:mm")
716 + active: root.calendarVisible
718 + onActivated: root.calendarVisible = !root.calendarVisible
722 + visible: root.calendarVisible
724 + shownDate: clock.date
729 + precision: SystemClock.Minutes
734 +- [ ] **Step 3: Parse-check**
739 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-calendar.out
2>/tmp/nugu-qs-2c-calendar.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|CalendarPopup|ClockWidget' /tmp/nugu-qs-2c-calendar.out
| sed -n
'1,260p' 742 +Expected: exit `124`, no QML errors.
744 +##
Task 8: Add power popup 748 +- Create: `quickshell/nugu/PowerWidget.qml`
749 +- Modify: `quickshell/nugu/Bar.qml`
751 +- [ ] **Step 1: Write `PowerWidget.qml`**
755 +import QtQuick.Layouts
756 +import Quickshell.Io
762 + required property QtObject theme
763 + required property QtObject commands
765 + property bool open: false
766 + property string uptime: ""
768 + implicitWidth: button.implicitWidth
769 + implicitHeight: button.implicitHeight
771 + function refresh(): void {
772 + up.exec(["sh", "-c", "uptime -p | cut -d ' ' -f2-"])
782 + root.open = !root.open
783 + if (root.open) root.refresh()
789 + anchors { top: true; right: true }
790 + margins { top: 36; right: 10 }
793 + implicitHeight: 184
794 + color: "transparent"
797 + anchors.fill: parent
799 + color: `${root.theme.ui.backdrop}f2`
801 + border.color: root.theme.ui.accent
804 + anchors.fill: parent
805 + anchors.margins: 10
809 + Layout.fillWidth: true
810 + text: `up ${root.uptime}`
811 + color: root.theme.ui.important_global
812 + font.family: "IBM Plex Mono"
814 + horizontalAlignment: Text.AlignHCenter
818 + Layout.fillWidth: true
823 + StatusItem { theme: root.theme; text: " lock"; minWidth: 110; onLeftClicked: root.commands.lock() }
824 + StatusItem { theme: root.theme; text: " sleep"; minWidth: 110; muted: true; onLeftClicked: root.commands.dryRunPower("sleep") }
825 + StatusItem { theme: root.theme; text: " out"; minWidth: 110; muted: true; onLeftClicked: root.commands.dryRunPower("logout") }
826 + StatusItem { theme: root.theme; text: " reboot"; minWidth: 110; critical: true; onLeftClicked: root.commands.dryRunPower("reboot") }
827 + StatusItem { theme: root.theme; text: " off"; minWidth: 110; critical: true; onLeftClicked: root.commands.dryRunPower("poweroff") }
835 + stdout: StdioCollector { onStreamFinished: root.uptime = this.text.trim() }
840 +- [ ] **Step 2: Add power widget to `Bar.qml` right section after battery**
843 + PowerWidget { theme: root.theme; commands: root.commands }
846 +- [ ] **Step 3: Parse-check**
851 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-power.out
2>/tmp/nugu-qs-2c-power.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create|PowerWidget' /tmp/nugu-qs-2c-power.out
| sed -n
'1,260p' 854 +Expected: exit `124`, no QML errors. No power action is executed by parse check.
856 +##
Task 9: Finalize Phase 2C bar order 860 +- Modify: `quickshell/nugu/Bar.qml`
862 +- [ ] **Step 1: Ensure left section order**
864 +The left `RowLayout` must have this order:
867 + ClipboardWidget { theme: root.theme; commands: root.commands }
868 + WorkspaceWidget { theme: root.theme }
869 + BindModeWidget { theme: root.theme }
872 +- [ ] **Step 2: Ensure center section order**
874 +The center `RowLayout` must have this order:
877 + MediaWidget { theme: root.theme }
878 + ClockWidget { theme: root.theme }
881 +- [ ] **Step 3: Ensure right section order**
883 +The right `RowLayout` must have this order:
886 + TrayWidget { theme: root.theme; parentWindow: root }
887 + NotificationBridgeWidget { theme: root.theme; commands: root.commands }
890 + onInhibitChanged: enabled => root.idleInhibited = enabled
892 + WifiWidget { theme: root.theme; commands: root.commands }
893 + BluetoothWidget { theme: root.theme; commands: root.commands }
894 + CpuWidget { theme: root.theme; commands: root.commands }
895 + VolumeWidget { theme: root.theme; commands: root.commands }
896 + BrightnessWidget { theme: root.theme }
897 + BatteryWidget { theme: root.theme; commands: root.commands }
898 + PowerWidget { theme: root.theme; commands: root.commands }
901 +- [ ] **Step 4: Full parse-check**
906 +dbus-run-session
-- sh -lc
'cd /home/oli/Workspace/dotfiles && timeout 3s qs -p quickshell/nugu/shell.qml' >/tmp/nugu-qs-2c-full.out
2>/tmp/nugu-qs-2c-full.err
; code
=$?; printf 'exit=%s\n' "$code"; grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Syntax|Cannot|Binding loop|required|failed to create' /tmp/nugu-qs-2c-full.out
| sed -n
'1,320p' 909 +Expected: exit `124`, no QML parse/type errors.
911 +##
Task 10: Live IPC and visual validation 915 +- No tracked file changes unless validation finds a bug.
917 +- [ ] **Step 1: Start temporary named config**
922 +cd /home/oli/Workspace/dotfiles
923 +tmp
="$(mktemp -d /tmp/nugu-qs-2c-xdg.XXXXXX)" 924 +mkdir -p
"$tmp/quickshell" 925 +ln -s
"$PWD/quickshell/nugu" "$tmp/quickshell/nugu" 926 +printf '%s\n' "$tmp" >/tmp/nugu-qs-2c-ipc.xdg
927 +XDG_CONFIG_HOME
="$tmp" QS_NO_RELOAD_POPUP
=1 qs -c nugu
>/tmp/nugu-qs-2c-ipc.out
2>/tmp/nugu-qs-2c-ipc.err
& 928 +printf '%s\n' $!
>/tmp/nugu-qs-2c-ipc.pid
930 +grep -E
'ERROR|WARN|Configuration Loaded|TypeError|ReferenceError|Binding loop|required|failed to create' /tmp/nugu-qs-2c-ipc.out
| sed -n
'1,220p' 933 +Expected: no QML parse/type errors. This does not mutate `~/.config/quickshell`.
935 +- [ ] **Step 2: Show dark and light bar screenshots**
940 +XDG_CONFIG_HOME
="$(cat /tmp/nugu-qs-2c-ipc.xdg)" qs ipc -c nugu call nugu showBar
942 +grim -g
'0,0 1366x90' /tmp/nugu-qs-2c-bar-dark.png
943 +XDG_CONFIG_HOME
="$(cat /tmp/nugu-qs-2c-ipc.xdg)" qs ipc -c nugu call nugu setThemeMode light
945 +grim -g
'0,0 1366x90' /tmp/nugu-qs-2c-bar-light.png
946 +XDG_CONFIG_HOME
="$(cat /tmp/nugu-qs-2c-ipc.xdg)" qs ipc -c nugu call nugu setThemeMode dark
949 +Expected: Quickshell bar is visible under Ironbar; dark/light colors are readable.
951 +- [ ] **Step 3: Validate notification bridge**
956 +notify-send
'Nugu Phase 2C test' 'notification bridge count test' 958 +grim -g
'1000,20 180x55' /tmp/nugu-qs-2c-notification-count.png
959 +makoctl dismiss --all
962 +Expected: notification widget shows nonzero count before dismiss and returns to empty after poll. Mako remains the daemon.
964 +- [ ] **Step 4: Validate clipboard popup non-destructively**
966 +Click the clipboard icon or use pointer automation. Expected: popup opens with up to 5 `cliphist` rows, truncated to about 30 characters. Do not clear history.
968 +- [ ] **Step 5: Validate inhibit state**
970 +Click inhibit widget. Expected: icon changes between ` inf` and ` inf`; right-click cycles `30m`, `1h`, `2h`, `inf`. Do not change `hypridle.conf`.
972 +- [ ] **Step 6: Validate calendar and power popup**
974 +Click clock. Expected: readable month calendar popup.
976 +Click power. Expected: popup opens with uptime and action labels. Only lock is a live action; sleep/logout/reboot/poweroff record dry-run state and must not execute.
978 +- [ ] **Step 7: Stop temporary Quickshell**
983 +XDG_CONFIG_HOME
="$(cat /tmp/nugu-qs-2c-ipc.xdg)" qs ipc -c nugu call nugu hideBar
984 +kill "$(cat /tmp/nugu-qs-2c-ipc.pid)" 985 +rm -rf
"$(cat /tmp/nugu-qs-2c-ipc.xdg)" 986 +rm -f /tmp/nugu-qs-2c-ipc.pid /tmp/nugu-qs-2c-ipc.xdg
990 +Expected: no temporary `qs` process remains.
992 +##
Task 11: README and verification record 996 +- Modify: `quickshell/nugu/README.md`
997 +- Create: `docs/super/inventory/2026-06-17-quickshell-phase-2c-verification.md`
999 +- [ ] **Step 1: Append README section**
1005 +## Phase 2C bar surfaces
1007 +Phase 2C adds the remaining Ironbar bar surfaces while Ironbar/Mako stay live:
1009 +- system tray display/menu forwarding
1010 +- clipboard entry popup backed by `cliphist`
1011 +- hidden bind-mode widget for future Hypr submaps
1012 +- Mako notification count/restore/dismiss bridge
1013 +- idle inhibit display/toggle/duration cycle
1014 +- power popup with lock live and destructive actions gated
1015 +- clock calendar popup
1017 +Still deferred: native notification daemon, launcher bind replacement, full clipboard picker bind replacement, OSDs, Hypr bind migration, and retiring old services.
1020 +- [ ] **Step 2: Write verification record**
1022 +Create `docs/super/inventory/2026-06-17-quickshell-phase-2c-verification.md` with:
1025 +# Quickshell Phase 2C Verification — 2026-06-17
1029 +- `dbus-run-session -- timeout 3s qs -p quickshell/nugu/shell.qml`
1030 +- temporary `XDG_CONFIG_HOME` named config with `qs -c nugu`
1031 +- `qs ipc -c nugu call nugu showBar`
1032 +- `qs ipc -c nugu call nugu setThemeMode light`
1033 +- `notify-send 'Nugu Phase 2C test' 'notification bridge count test'`
1034 +- `makoctl dismiss --all`
1036 +## Parse validation
1038 +Record final parse result here from `/tmp/nugu-qs-2c-full.out`.
1040 +## Visual validation
1042 +Record screenshots:
1044 +- `/tmp/nugu-qs-2c-bar-dark.png`
1045 +- `/tmp/nugu-qs-2c-bar-light.png`
1046 +- `/tmp/nugu-qs-2c-notification-count.png`
1048 +## Manual observations
1050 +- Tray behavior: recorded during execution.
1051 +- Clipboard popup: recorded during execution.
1052 +- Bind mode hidden because current Hypr config has no submaps: recorded during execution.
1053 +- Notification bridge count/restore/dismiss: recorded during execution.
1054 +- Inhibit toggle/cycle: recorded during execution.
1055 +- Calendar popup: recorded during execution.
1056 +- Power popup dry-run gating: recorded during execution.
1057 +- Ironbar and Mako remained live and were not retired.
1061 +Record any failed or skipped rows here. Do not mark Phase 2C accepted if required rows are still unverified.
1064 +- [ ] **Step 3: Confirm old services still run**
1069 +systemctl --user --no-pager --plain is-active ironbar.service ironbar-workspaces.service mako.service
1072 +Expected: all three are active.
1074 +##
Task 12: Commit Phase 2C 1078 +- Add/modify all files from prior tasks.
1080 +- [ ] **Step 1: Check focused status**
1085 +cd /home/oli/Workspace/dotfiles
1086 +git diff --name-only
-- quickshell/nugu docs/super/inventory docs/super/plans
| sed -n
'1,160p' 1087 +git diff --cached --name-only
| sed -n
'1,80p' 1090 +Expected: only intended Phase 2C files plus this plan and verification.
1092 +- [ ] **Step 2: Commit**
1097 +git add docs/super/plans/2026-06-17-quickshell-hypr-companions-phase-2c-bar-surfaces.md docs/super/inventory/2026-06-17-quickshell-phase-2c-verification.md quickshell/nugu/Commands.qml quickshell/nugu/TrayWidget.qml quickshell/nugu/ClipboardWidget.qml quickshell/nugu/BindModeWidget.qml quickshell/nugu/NotificationBridgeWidget.qml quickshell/nugu/InhibitWidget.qml quickshell/nugu/PowerWidget.qml quickshell/nugu/CalendarPopup.qml quickshell/nugu/ClockWidget.qml quickshell/nugu/Bar.qml quickshell/nugu/README.md
1098 +git commit -m
"feat(quickshell): add remaining bar surfaces" 1101 +##
Task 13: Phase boundary check 1105 +- No tracked changes unless verification found a bug.
1107 +- [ ] **Step 1: Non-mutating final checks**
1112 +hyprctl configerrors
1113 +systemctl --user --no-pager --plain is-active ironbar.service ironbar-workspaces.service mako.service
1114 +systemctl --user --no-pager --plain is-active quickshell.service
|| true
1115 +pgrep -a qs
|| true
1120 +- `hyprctl configerrors` empty.
1121 +- Ironbar and Mako active.
1122 +- Quickshell service not live unless explicitly started by the user.
1123 +- No stray temporary `qs -c nugu` process.
1125 +- [ ] **Step 2: Report next phase**
1130 +Phase 2C completes remaining bar-surface implementation but does not retire Ironbar/Mako. Next roadmap phase: native Quickshell notification daemon replacing Mako, with controlled Mako stop/restart tests.
1133 +Do not start Phase 3 in the same execution pass.