Purpose: freeze API/runtime facts for the last Ironbar-parity slice: tray, clipboard entry point, bind mode, notification bridge, inhibit, power popup, calendar popup, and full visual comparison.
icon: image source string usable in Image or IconImage-like display.
status: active/passive/attention enum.
tooltipTitle, tooltipDescription.
hasMenu: menu availability.
onlyMenu: activation does nothing; menu is primary.
menu: menu handle usable with QsMenuAnchor/QsMenuOpener.
Relevant functions:
activate() for left click.
secondaryActivate() for middle click.
display(parentWindow, relativeX, relativeY) for native menu display.
scroll(delta, horizontal) for tray scroll forwarding.
Implementation recommendation:
Phase 2C should first use SystemTrayItem.display(barWindow, x, y) for right-click/menu behavior because it is direct and documented.
If native menu display is ugly or insufficient, explore QsMenuOpener/custom menu in a later targeted task.
Icon size target: current Ironbar 14px.
QsMenuOpener API note
QsMenuOpener exposes children for a QsMenuHandle. The fetched v0.3.0 page describes it as a child retriever, not a direct popup opener despite the name.
Properties:
menu: QsMenuHandle.
children: ObjectModel<QsMenuEntry>.
Decision:
Do not assume QsMenuOpener opens menus by itself.
Prefer SystemTrayItem.display(...) for Phase 2C parity unless a custom menu is explicitly needed.
Clipboard entry/picker boundary
Current Ironbar clipboard module:
Bar entry in start section.
Max items 5.
Truncate end length 30.
Current Hypr bind frontend:
cliphist list | hyprlauncher --dmenu | cliphist decode | wl-copy
Phase 2C bar parity:
Add a compact clipboard entry point to the bar.
For bar parity, opening a Quickshell picker/popup is enough; full launcher/dmenu replacement is Phase 4.
Use cliphist list as backend.
Use cliphist decode + wl-copy to restore selected text.
Backend facts:
cliphist list currently returns 224 rows.
Do not clear history during tests.
Implementation recommendation:
Phase 2C should implement a tiny popup/panel with first 5 rows and 30-char end truncation.
Phase 4 can generalize this into the SUPER+V picker.
Bind mode surface
Current Ironbar has a bindmode module, but current Hypr Lua config has no submaps/bind modes.
Observed:
hyprctl binds -j showed no non-empty submap rows.
hypr/modules/*.lua has no submap/bindmode references.
Quickshell API:
Hyprland.rawEvent(event) emits HyprlandEvent with name, data, and parse(argumentCount).
Decision:
Phase 2C should add a bind-mode widget that is hidden/empty by default.
It can listen for raw submap events if present later.
Since there is no current bind mode, parity is hidden state.
Notification status bridge
Current Ironbar bridge:
Script every 5s:
makoctl list | grep -c '^Notification '
0 =>
N > 0 => N
Left click: makoctl restore.
Right click: makoctl dismiss --all.
Phase 2C decision:
Keep Mako as notification daemon.
Implement a Quickshell bridge widget with bounded makoctl polling while Mako is still authoritative.
Native notification status without polling belongs to Phase 3.
Current observed count: 0.
Validation:
With no notifications: .
After notify-send: count should become N after poll.
Left click restore, right click dismiss all.
Idle inhibit API
Module:
import Quickshell.Wayland
Type:
IdleInhibitor
Properties:
window: associated window; must be non-null to enable.
enabled: boolean.
Docs note:
Compositor usually considers a PanelWindow important.
Requires idle-inhibit protocol support.
Current Ironbar inhibit behavior:
Durations: 00:30:00, 01:00:00, 02:00:00, inf.
Default duration: inf.
On format: {duration}.
Off format: {duration}.
Left toggles, right cycles.
Phase 2C implementation recommendation:
Attach IdleInhibitor to the bar PanelWindow.
Keep state in an InhibitController/widget property.
Use a Timer for finite durations.
Do not modify hypridle.conf.
Validation:
Display state and duration cycle can be tested immediately.
Actual idle blocking needs a controlled short timeout or manual wait; do not change idle config just for this phase.
Power popup surface
Current Ironbar popup actions:
Label
Current command
off
hyprshutdown --post-cmd "systemctl poweroff"
reboot
hyprshutdown --post-cmd "systemctl reboot"
out
hyprshutdown
sleep
loginctl lock-session && systemctl suspend
lock
hyprlock
Architecture decision already made:
Poweroff/reboot require confirmation in Quickshell by default.
Lock can run hyprlock.
Sleep/logout/destructive actions must be dry-run or explicitly approved during verification.
Uptime source:
Current Ironbar popup shows up {{30000:uptime -p | cut -d ' ' -f2-}}.
Phase 2C is the end of Ironbar bar parity before retirement. Required outputs:
Screenshot of current Ironbar dark mode.
Screenshot of Quickshell bar dark mode.
Screenshot of current Ironbar light mode if safely switchable.
Screenshot of Quickshell bar light mode.
Notes for deviations: either fixed or explicitly accepted.
Do not stop Ironbar permanently in Phase 2C. Use temporary stop only if needed to capture Quickshell without overlap, then restart Ironbar immediately.
Phase 2C implementation order recommendation
Add popup primitive anchored to bar buttons.
Add clock calendar popup.
Add clipboard entry popup backed by cliphist first 5 rows.
Add bind-mode hidden widget / raw-event listener.
Add Mako notification bridge widget.
Add tray widget using SystemTray.items and item.display(...).
Add inhibit widget + IdleInhibitor attached to bar.
Add power popup with confirmation/dry-run boundaries.
Run full Ironbar-vs-Quickshell visual/interaction comparison.
Record Phase 2C verification.
Self-review
Tray menu opening should use SystemTrayItem.display(...); QsMenuOpener is not assumed to open menus.
Bind mode parity is hidden state because no current bind modes exist.
Notification status remains a Mako bridge until Phase 3; this keeps daemon ownership simple.
Clipboard storage remains cliphist.
Poweroff/reboot are confirmation-only by default.
Ironbar remains live through Phase 2C; retirement is Phase 5 only.
# Quickshell Phase 2C Surface/API Inventory — 2026-06-17Purpose: freeze API/runtime facts for the last Ironbar-parity slice: tray, clipboard entry point, bind mode, notification bridge, inhibit, power popup, calendar popup, and full visual comparison.
Related:
- [`2026-06-17-quickshell-hypr-companion-baseline.md`](2026-06-17-quickshell-hypr-companion-baseline.md)
- [`2026-06-17-quickshell-parity-checklist.md`](2026-06-17-quickshell-parity-checklist.md)
- [`../plans/2026-06-17-quickshell-hypr-companions-phase-2a-bar-shell.md`](../plans/2026-06-17-quickshell-hypr-companions-phase-2a-bar-shell.md)
- [`../plans/2026-06-17-quickshell-hypr-companions-phase-2b-status-widgets.md`](../plans/2026-06-17-quickshell-hypr-companions-phase-2b-status-widgets.md)
## Local runtime snapshotNon-mutating commands run:
```shmakoctl list | grep -c '^Notification 'cliphist list | wc -l
uptime -p | cut -d ' ' -f2-
hyprctl instances -j
hyprctl binds -j | jq 'submap check'rg 'submap|bindmode|mode' hypr/modules
ps tray-ish grep
```
Observed:
```textmako count: 0
cliphist sample count: 224
uptime: 4 days, 5 hours, 55 minutes
hypr raw events available: yes
hypr binds with submap: none
hypr/modules submap/bindmode refs: none
system tray-ish processes: none found by loose grep
```
Implications:
- Notification bridge can validate zero-count state immediately; restore/dismiss need test notifications or existing history.
- Clipboard picker has plenty of current `cliphist` history to test list/select.
- Bind mode widget likely remains hidden/empty because no Hypr submaps are configured.
- Tray implementation still matters for parity, but current live process grep did not reveal obvious tray clients; test may need a known tray app.
- Inhibit duration display can be tested without changing `hypridle.conf`.
- Power popup must use dry-run/confirmation for destructive actions.
## System tray APIModule:
```qmlimport Quickshell.Services.SystemTray
import Quickshell.Widgets
```
Relevant singleton/property:
- `SystemTray.items`: `ObjectModel<SystemTrayItem>`.
Relevant `SystemTrayItem` properties:
- `id`: unique app-ish name.
- `title`: application label.
- `icon`: image source string usable in `Image` or `IconImage`-like display.
- `status`: active/passive/attention enum.
- `tooltipTitle`, `tooltipDescription`.
- `hasMenu`: menu availability.
- `onlyMenu`: activation does nothing; menu is primary.
- `menu`: menu handle usable with `QsMenuAnchor`/`QsMenuOpener`.
Relevant functions:
- `activate()` for left click.
- `secondaryActivate()` for middle click.
- `display(parentWindow, relativeX, relativeY)` for native menu display.
- `scroll(delta, horizontal)` for tray scroll forwarding.
Implementation recommendation:
- Phase 2C should first use `SystemTrayItem.display(barWindow, x, y)` for right-click/menu behavior because it is direct and documented.
- If native menu display is ugly or insufficient, explore `QsMenuOpener`/custom menu in a later targeted task.
- Icon size target: current Ironbar `14px`.
## QsMenuOpener API note`QsMenuOpener` exposes `children` for a `QsMenuHandle`. The fetched v0.3.0 page describes it as a child retriever, not a direct popup opener despite the name.
Properties:
- `menu`: `QsMenuHandle`.
- `children`: `ObjectModel<QsMenuEntry>`.
Decision:
- Do not assume `QsMenuOpener` opens menus by itself.
- Prefer `SystemTrayItem.display(...)` for Phase 2C parity unless a custom menu is explicitly needed.
## Clipboard entry/picker boundaryCurrent Ironbar clipboard module:
- Bar entry in start section.
- Max items `5`.
- Truncate end length `30`.
Current Hypr bind frontend:
```shcliphist list | hyprlauncher --dmenu | cliphist decode | wl-copy
```
Phase 2C bar parity:
- Add a compact clipboard entry point to the bar.
- For bar parity, opening a Quickshell picker/popup is enough; full launcher/dmenu replacement is Phase 4.
- Use `cliphist list` as backend.
- Use `cliphist decode` + `wl-copy` to restore selected text.
Backend facts:
- `cliphist list` currently returns 224 rows.
- Do not clear history during tests.
Implementation recommendation:
- Phase 2C should implement a tiny popup/panel with first 5 rows and 30-char end truncation.
- Phase 4 can generalize this into the `SUPER+V` picker.
## Bind mode surfaceCurrent Ironbar has a `bindmode` module, but current Hypr Lua config has no submaps/bind modes.
Observed:
- `hyprctl binds -j` showed no non-empty `submap` rows.
- `hypr/modules/*.lua` has no `submap`/`bindmode` references.
Quickshell API:
- `Hyprland.rawEvent(event)` emits `HyprlandEvent` with `name`, `data`, and `parse(argumentCount)`.
Decision:
- Phase 2C should add a bind-mode widget that is hidden/empty by default.
- It can listen for raw `submap` events if present later.
- Since there is no current bind mode, parity is hidden state.
## Notification status bridgeCurrent Ironbar bridge:
- Script every 5s:
- `makoctl list | grep -c '^Notification '`
- `0` => ``
- `N > 0` => ` N`
- Left click: `makoctl restore`.
- Right click: `makoctl dismiss --all`.
Phase 2C decision:
- Keep Mako as notification daemon.
- Implement a Quickshell bridge widget with bounded `makoctl` polling while Mako is still authoritative.
- Native notification status without polling belongs to Phase 3.
Current observed count: `0`.
Validation:
- With no notifications: ``.
- After `notify-send`: count should become ` N` after poll.
- Left click restore, right click dismiss all.
## Idle inhibit APIModule:
```qmlimport Quickshell.Wayland
```
Type:
- `IdleInhibitor`
Properties:
- `window`: associated window; must be non-null to enable.
- `enabled`: boolean.
Docs note:
- Compositor usually considers a `PanelWindow` important.
- Requires idle-inhibit protocol support.
Current Ironbar inhibit behavior:
- Durations: `00:30:00`, `01:00:00`, `02:00:00`, `inf`.
- Default duration: `inf`.
- On format: ` {duration}`.
- Off format: ` {duration}`.
- Left toggles, right cycles.
Phase 2C implementation recommendation:
- Attach `IdleInhibitor` to the bar `PanelWindow`.
- Keep state in an `InhibitController`/widget property.
- Use a `Timer` for finite durations.
- Do not modify `hypridle.conf`.
Validation:
- Display state and duration cycle can be tested immediately.
- Actual idle blocking needs a controlled short timeout or manual wait; do not change idle config just for this phase.
## Power popup surfaceCurrent Ironbar popup actions:
| Label | Current command |
| --- | --- |
| ` off` | `hyprshutdown --post-cmd "systemctl poweroff"` |
| ` reboot` | `hyprshutdown --post-cmd "systemctl reboot"` |
| ` out` | `hyprshutdown` |
| ` sleep` | `loginctl lock-session && systemctl suspend` |
| ` lock` | `hyprlock` |
Architecture decision already made:
- Poweroff/reboot require confirmation in Quickshell by default.
- Lock can run `hyprlock`.
- Sleep/logout/destructive actions must be dry-run or explicitly approved during verification.
Uptime source:
- Current Ironbar popup shows `up {{30000:uptime -p | cut -d ' ' -f2-}}`.
- Observed uptime text: `4 days, 5 hours, 55 minutes`.
Phase 2C recommendation:
- Add popup with same labels and uptime line.
- Use Nugu popup style and `IBM Plex Mono`/Sans as appropriate.
- Use `Commands` service methods for lock/sleep/logout/poweroff/reboot dry-run/confirm boundaries.
## Clock calendar popupCurrent Ironbar clock:
- Center text `%H:%M`.
- Calendar popup styled through GTK CSS.
Phase 2C target:
- Add popup on clock click.
- Preserve existing center text.
- Calendar can be a compact QML month grid if QtQuick Controls calendar is not desirable.
- Must be readable in dark and light mode.
Validation:
- Popup opens on clock click.
- Today/current/other-month/day-name colors follow Nugu semantics.
- Dark/light screenshots.
## Full visual comparisonPhase 2C is the end of Ironbar bar parity before retirement. Required outputs:
- Screenshot of current Ironbar dark mode.
- Screenshot of Quickshell bar dark mode.
- Screenshot of current Ironbar light mode if safely switchable.
- Screenshot of Quickshell bar light mode.
- Notes for deviations: either fixed or explicitly accepted.
Do not stop Ironbar permanently in Phase 2C. Use temporary stop only if needed to capture Quickshell without overlap, then restart Ironbar immediately.
## Phase 2C implementation order recommendation1. Add popup primitive anchored to bar buttons.
2. Add clock calendar popup.
3. Add clipboard entry popup backed by `cliphist` first 5 rows.
4. Add bind-mode hidden widget / raw-event listener.
5. Add Mako notification bridge widget.
6. Add tray widget using `SystemTray.items` and `item.display(...)`.
7. Add inhibit widget + `IdleInhibitor` attached to bar.
8. Add power popup with confirmation/dry-run boundaries.
9. Run full Ironbar-vs-Quickshell visual/interaction comparison.
10. Record Phase 2C verification.
## Self-review- Tray menu opening should use `SystemTrayItem.display(...)`; `QsMenuOpener` is not assumed to open menus.
- Bind mode parity is hidden state because no current bind modes exist.
- Notification status remains a Mako bridge until Phase 3; this keeps daemon ownership simple.
- Clipboard storage remains `cliphist`.
- Poweroff/reboot are confirmation-only by default.
- Ironbar remains live through Phase 2C; retirement is Phase 5 only.