repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

quickshell/nugu/SCRIPTS.md

Raw

Nugu Quickshell script inventory

These scripts are part of the self-contained named config. They are allowed to verify repository and temporary-home behavior, but they must not link live config, start/stop companion services, restart DBus, simplify Hypr, or retire old apps.

Script Purpose Mutation boundary
audit.sh Static repository guard for inventories, QML self-containment, Nugu style, rollout contracts, and stale dependency rows. Read-only; checks files and exits without touching live HOME, services, DBus, or Hypr state.
smoke.sh Named-config scaffold runner using temporary HOME and XDG_CONFIG_HOME to prove Quickshell surfaces and IPC load without live links. May create and remove only its own temp directory and its own temporary qs process.
live-check.sh Read-only live readiness reporter for links, services, DBus health, Hypr config errors, and old helper refs. Reports blockers only; never starts, stops, enables, disables, links, reloads, or launches qs -c nugu.
gate.sh One-command verification chain for audit, user unit verification, smoke, live readiness, and optional strict live readiness. Delegates only to audited non-mutating/self-contained gates; never performs rollout actions itself.

Contract

Every *.sh file in this directory must be listed here, executable, and use #!/bin/sh plus set -eu. Any new script must document why it exists and what it is allowed to mutate before the audit accepts it.

Markdown source
File outline
# Nugu Quickshell script inventory

These scripts are part of the self-contained named config. They are allowed to
verify repository and temporary-home behavior, but they must not link live config,
start/stop companion services, restart DBus, simplify Hypr, or retire old apps.

| Script | Purpose | Mutation boundary |
| --- | --- | --- |
| `audit.sh` | Static repository guard for inventories, QML self-containment, Nugu style, rollout contracts, and stale dependency rows. | Read-only; checks files and exits without touching live HOME, services, DBus, or Hypr state. |
| `smoke.sh` | Named-config scaffold runner using temporary `HOME` and `XDG_CONFIG_HOME` to prove Quickshell surfaces and IPC load without live links. | May create and remove only its own temp directory and its own temporary `qs` process. |
| `live-check.sh` | Read-only live readiness reporter for links, services, DBus health, Hypr config errors, and old helper refs. | Reports blockers only; never starts, stops, enables, disables, links, reloads, or launches `qs -c nugu`. |
| `gate.sh` | One-command verification chain for audit, user unit verification, smoke, live readiness, and optional strict live readiness. | Delegates only to audited non-mutating/self-contained gates; never performs rollout actions itself. |

## Contract

Every `*.sh` file in this directory must be listed here, executable, and use
`#!/bin/sh` plus `set -eu`. Any new script must document why it exists and what
it is allowed to mutate before the audit accepts it.