diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-21 20:13:23 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-21 20:13:23 +0200 |
| commit | 696f3ad4f65a6516549544af13a9646f57ae523e (patch) | |
| tree | 10004eac68626f413da40c2287dd1838fbb82f86 /notifications | |
| parent | 34a6a3cd65370fd31877da0c54abcae15d69d3a4 (diff) | |
| download | quickshell-696f3ad4f65a6516549544af13a9646f57ae523e.tar.gz quickshell-696f3ad4f65a6516549544af13a9646f57ae523e.zip | |
feat(status): report a running game as its own presentation state
status.gaming is written by the shell's game detector and presentation is
the OR of it and the manual file, but statusctl read only the manual half.
A game therefore asserted the presentation effects while the waybar pill
still read deactivated.
Report gaming as a third state, for presentation only. The watch follows
status.gaming as well as its own file, and emits only on a real change so
an unchanged rewrite draws nothing.
Toggle is refused while a game holds the mode: the detector reasserts the
file within its poll, so the write would not stick. set stays allowed, the
manual half is worth setting for when the game exits.
gaming stays out of MODES. The detector owns that file and nothing here
may write it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'notifications')
0 files changed, 0 insertions, 0 deletions
