aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/status/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-16 17:20:29 +0100
committerDanilo M. <danix@danix.xyz>2026-11-16 17:20:29 +0100
commiteb81546609a1decc8e8ac4bc3856b6b17269777d (patch)
tree7e5091b8103554d4da72a49e9ff7dbb5e2a90878 /desktop/modules/status/README.md
parent6d60c2a0af28afd8bde3fc41c92f759e10845221 (diff)
downloadquickshell-eb81546609a1decc8e8ac4bc3856b6b17269777d.tar.gz
quickshell-eb81546609a1decc8e8ac4bc3856b6b17269777d.zip
fix(status): statusctl watch counts status.xbox as gamingHEADmaster
The shell ORs status.xbox into presentation, so the CLI reads it too: the watch emits the gaming class and toggle is refused while the Xbox runs a game, as for a PC game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/status/README.md')
-rw-r--r--desktop/modules/status/README.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/desktop/modules/status/README.md b/desktop/modules/status/README.md
index 1edec03..15bb122 100644
--- a/desktop/modules/status/README.md
+++ b/desktop/modules/status/README.md
@@ -1,8 +1,10 @@
# status
Desktop modes as state: `dnd`, `presentation`, `nolock`, `quiet` and `nolamp`, owned by
-the `Status` singleton and stored as files under `$XDG_RUNTIME_DIR`. A sixth,
-`status.gaming` is written only by the shell's game detector and `status.xbox` only by deck-it while the Xbox runs a game; neither is a mode `statusctl` exposes, and either one turns presentation on.
+the `Status` singleton and stored as files under `$XDG_RUNTIME_DIR`. Two more,
+`status.gaming`, written only by the shell's game detector, and `status.xbox`,
+written only by deck-it while the Xbox runs a game, are not modes `statusctl`
+exposes; either one turns presentation on.
## The files are the interface
@@ -117,8 +119,9 @@ without touching the manual half, so a bar widget would otherwise read
class with its own icon, and `toggle` is refused while it holds: the detector
reasserts the file within its poll, so the write would not stick. `set` is
still allowed, since the manual half is worth setting for when the game exits.
-The watch therefore follows `status.gaming` as well as its own file, and emits
-only on a real change so an unchanged rewrite draws nothing.
+The watch therefore follows `status.gaming` and `status.xbox` as well as its
+own file, and emits only on a real change so an unchanged rewrite draws
+nothing. `status.xbox` counts as gaming in all of this.
## The checks