Skip to content
Back to skills

Desktop Shell

ASecurity

Use for the Quickshell QML/JavaScript UI and Python helper under symlinks/config/quickshell/: bars, menus/popups, media controls, tray, workspace layout, shared state, idle polling, and network actions. Not for Rust CLI output, shell bootstrap, or Hyprland/session configuration (use hyprland-session).

  • 3 stars
  • 0 votes
  • 2 copies
  • 21 views
  • Added September 20, 2026
developmentjavascriptpythonrustjavashelltestingdocumentation

Works with

  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add sneivandt/dotfiles --skill desktop-shell --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Desktop Shell?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Desktop Shell
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sneivandt-desktop-shell/badge)](https://www.skillsdirectory.com/skills/sneivandt-desktop-shell)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: desktop-shell
description: >
  Use for the Quickshell QML/JavaScript UI and Python helper under
  symlinks/config/quickshell/: bars, menus/popups, media controls, tray,
  workspace layout, shared state, idle polling, and network actions. Not for
  Rust CLI output, shell bootstrap, or Hyprland/session configuration (use
  hyprland-session).
---

# Desktop Shell

Sources live in [`symlinks/config/quickshell/`](../../../symlinks/config/quickshell/),
tests in [`tests/desktop/quickshell/`](../../../tests/desktop/quickshell/),
and user documentation in [Arch desktop](../../../docs/content/guides/arch-desktop.md)
(not Application settings).

## Non-obvious invariants

- Reuse shared state objects in `shell.qml` rather than spawning per-screen or
  per-popup pollers. Keep expensive detail queries on-demand (e.g., Wi-Fi details
  only while `NetworkMenu` is open, market data only while `MarketMenu` is open)
  and guard lifecycle behavior in `tests/desktop/quickshell/qml/tst_ServiceLifecycle.qml`.
- Keep media controls tracking the actively playing player (`MediaPlayer.js`),
  not the first registered player.
- Calendar and bar clocks share `shell.qml`'s date; keep highlighting and month
  arithmetic in the selected local/UTC zone.
- Reuse `ShellPopup.qml`'s stable Wayland buffer and animation/focus lifecycle
  (Escape, outside-click dismissal, menu switching, screen bounds, scrolling).
  Derive geometry from state rather than timers for deferred layout.
- Keep `network_helper.py`'s JSON protocol (`ok`/error, timeouts, escaped
  `nmcli` fields) in sync with QML consumers. Pass credentials only via stdin,
  never argv or logs, and clear transient credential state after use.
- Distinguish unavailable state from disconnected/empty state; prevent
  overlapping network actions and refresh after completion.

## Validation

Run the affected offscreen QML or mocked Python suite from
[Desktop shell testing](../../../docs/content/development/testing.md#desktop-shell).
Offscreen tests do not prove live Wayland rendering or focus, and editing
symlinked QML sources can trigger a live reload—keep edits coherent.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.