225 225 Layout.fillWidth: true
226 - text: "IPC: qs -c nugu ipc call nugu toggleDiagnostics"
226 + text: "IPC: qs ipc -c nugu call nugu toggleDiagnostics"
227 227 color: panel.theme.ui.minor
228 228 font.family: "IBM Plex Mono"
229 229 font.pixelSize: 11
297 -qs -c nugu ipc call nugu showDiagnostics
298 -qs -c nugu ipc call nugu hideDiagnostics
299 -qs -c nugu ipc call nugu toggleDiagnostics
300 -qs -c nugu ipc call nugu reloadTheme
301 -qs -c nugu ipc call nugu setThemeMode light
302 -qs -c nugu ipc call nugu setThemeMode dark
297 +qs ipc -c nugu call nugu showDiagnostics
298 +qs ipc -c nugu call nugu hideDiagnostics
299 +qs ipc -c nugu call nugu toggleDiagnostics
300 +qs ipc -c nugu call nugu reloadTheme
301 +qs ipc -c nugu call nugu setThemeMode light
302 +qs ipc -c nugu call nugu setThemeMode dark
427 427 - [ ] **Step 1: Start a temporary named config without systemd**
429 +Run from repo root with a temporary named config link:
432 -mkdir -p ~/.config/quickshell
433 -ln -sfn
"$PWD/quickshell/nugu" ~/.config/quickshell/nugu
434 -QS_NO_RELOAD_POPUP
=1 qs -c nugu
>/tmp/nugu-qs-ipc.out
2>/tmp/nugu-qs-ipc.err
& 432 +tmp
="$(mktemp -d /tmp/nugu-qs-xdg.XXXXXX)" 433 +mkdir -p
"$tmp/quickshell" 434 +ln -s
"$PWD/quickshell/nugu" "$tmp/quickshell/nugu" 435 +printf '%s\n' "$tmp" >/tmp/nugu-qs-ipc.xdg
436 +XDG_CONFIG_HOME
="$tmp" QS_NO_RELOAD_POPUP
=1 qs -c nugu
>/tmp/nugu-qs-ipc.out
2>/tmp/nugu-qs-ipc.err
& 435 437 printf '%s\n' $!
>/tmp/nugu-qs-ipc.pid
437 439 cat /tmp/nugu-qs-ipc.err
440 442 Expected: no QML parse/type errors.
442 -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.
444 +This validation uses a temporary `XDG_CONFIG_HOME` and does not mutate `~/.config/quickshell`.
446 +For every IPC command below, prefix `XDG_CONFIG_HOME="$(cat /tmp/nugu-qs-ipc.xdg)"` when using this temporary config.
444 448 - [ ] **Step 2: Show diagnostics via IPC**
449 -qs -c nugu ipc call nugu showDiagnostics
453 +qs ipc -c nugu call nugu showDiagnostics
460 -qs -c nugu ipc call nugu setThemeMode light
464 +qs ipc -c nugu call nugu setThemeMode light
462 -qs -c nugu ipc call nugu setThemeMode dark
466 +qs ipc -c nugu call nugu setThemeMode dark
473 -qs -c nugu ipc call nugu hideDiagnostics
477 +qs ipc -c nugu call nugu hideDiagnostics
476 480 Expected: diagnostics panel disappears.
483 487 kill "$(cat /tmp/nugu-qs-ipc.pid)" 484 -rm -f /tmp/nugu-qs-ipc.pid
488 +rm -rf
"$(cat /tmp/nugu-qs-ipc.xdg)" 489 +rm -f /tmp/nugu-qs-ipc.pid /tmp/nugu-qs-ipc.xdg
487 492 Expected: no `qs -c nugu` process remains from this task.
513 518 printf '## Commands\n\n'
514 519 printf -- '- `timeout 3s qs -p quickshell/nugu/shell.qml`\n'
515 520 printf -- '- `systemd-analyze --user verify hypr/systemd/quickshell.service`\n'
516 - printf -- '- `qs -c nugu ipc call nugu showDiagnostics`\n'
517 - printf -- '- `qs -c nugu ipc call nugu setThemeMode light`\n'
518 - printf -- '- `qs -c nugu ipc call nugu setThemeMode dark`\n'
519 - printf -- '- `qs -c nugu ipc call nugu hideDiagnostics`\n\n'
521 + printf -- '- `qs ipc -c nugu call nugu showDiagnostics`\n'
522 + printf -- '- `qs ipc -c nugu call nugu setThemeMode light`\n'
523 + printf -- '- `qs ipc -c nugu call nugu setThemeMode dark`\n'
524 + printf -- '- `qs ipc -c nugu call nugu hideDiagnostics`\n\n'
520 525 printf '## Results\n\n'
521 526 printf '### Direct parse/start stderr\n\n```text\n'
522 527 sed -n '1,120p' /tmp/nugu-qs-phase1.err 2>/dev/null || true