# quickshell examples Each example in this directory is a **minimal, runnable** Quickshell shell. They were derived from the patterns documented in the [official Quickshell examples repo](https://git.outfoxxed.me/quickshell/quickshell-examples) and the [official Quickshell docs](https://quickshell.org/docs/v0.3.0/). They are written from scratch, not copies. ## Examples | # | Name | What it shows | Source / inspiration | License | | -- | ------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | | 01 | `01-hello-bar/` | Smallest valid `PanelWindow` | Hand-written; the canonical "hello world" shape from `quickshell.org/docs/v0.3.0/guide/introduction/` | Same as the quickshell project: LGPL-3.0 (runtime) | | 02 | `02-per-monitor-bar/` | `Variants` + per-monitor, multi-file shell | `quickshell.org/docs/v0.3.0/guide/introduction/` "Reusable components" section + `caelestia-dots/shell` pattern | Same as the quickshell project: LGPL-3.0 | | 03 | `03-clock/` | `PanelWindow` + `SystemClock` + `Qt.formatTime/Date` | Hand-written; the SystemClock docs page | Same as the quickshell project: LGPL-3.0 | | 04 | `04-pipewire-volume/` | Pipewire binding + Slider | Adapted from `quickshell-examples/mixer/` (Pipewire + Repeater) and `quickshell-examples/volume-osd/` (Pipewire audio binding) | Same as the quickshell project: LGPL-3.0 | | 05 | `05-osd-volume/` | LazyLoader + Connections + Timer OSD | Mirrors `quickshell-examples/volume-osd/` shape directly (Scope + LazyLoader + PanelWindow + PwObjectTracker + Connections + Timer + Region) | Same as the quickshell project: LGPL-3.0 | | 06 | `06-ipc-control/` | `IpcHandler` for external control | `quickshell.org/docs/v0.3.0/guide/faq/` "Open/close windows with commands" section | Same as the quickshell project: LGPL-3.0 | | 07 | `07-composite-bar/` | All five services in one bar | Composite of patterns from `examples/02`, `04`, `quickshell-examples/activate_linux/` (Variants + namespace), `quickshell-examples/focus_following_panel/` (Hyprland API) | Same as the quickshell project: LGPL-3.0 | | 08 | `08-notification-daemon/` | `NotificationServer` + `Repeater` on `trackedNotifications` | `quickshell.org/docs/v0.3.0/types/Quickshell.Services.Notifications/NotificationServer` + replaces mako/dunst | Same as the quickshell project: LGPL-3.0 | ## Running an example ```sh # 1. Install Quickshell (see ../references/packaging.md) sudo pacman -S quickshell # Arch # or: nix-env -i quickshell # Nix # or: source build per ../references/packaging.md # 2. Run any example qs -p examples/01-hello-bar/shell.qml ``` Each example has its own `README.md` with the specific run command and "what to break and learn from" notes. ## Validation All 8 examples validated against `qs 0.3.0` (Arch Linux package, 2026-06-16). Each example loads with `INFO: Configuration Loaded` and no `ERROR` lines in the log. ## License notes - **Quickshell source**: [LGPL-3.0](https://github.com/quickshell-mirror/quickshell/blob/main/LICENSE) (runtime) + [GPL-3.0](https://github.com/quickshell-mirror/quickshell/blob/main/LICENSE-GPL) (build scripts). - **Quickshell examples repo**: no explicit LICENSE file. The maintainer is the same as the quickshell project; intent ("Simple quickshell examples to learn from and modify") is project-permissive. Examples are not copies — they're minimal rewrites following the same patterns. - **This skill (`pi-ext/skills/quickshell/`)**: same license as the parent `pi-ext` repo. The example QML files in this directory are written from scratch based on the documented Quickshell patterns. They are not direct copies of the official examples. For anything more than a few lines, prefer studying the upstream examples directly at . ## See also - `../README.md` — top-level skill README with quickstart + validation - `../references/official-examples-coverage.md` — which patterns from each upstream example are covered - `../references/tdd-scenarios.md` — how the skill was developed + the hard-error vs silent-failure taxonomy