diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 12:11:03 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 12:11:03 +0200 |
| commit | e78962e28eafb2cb0b1bf8304dd1e0c4936044cf (patch) | |
| tree | e9c1364c342d19da61e39f31965271ffd5e02ad6 /desktop/modules/status/StatusTile.qml | |
| parent | 0aa0328a0fa3e80768efd7f76f713fe30e5ca8b2 (diff) | |
| download | quickshell-e78962e28eafb2cb0b1bf8304dd1e0c4936044cf.tar.gz quickshell-e78962e28eafb2cb0b1bf8304dd1e0c4936044cf.zip | |
feat(desktop): add presentation mode and its effects
Presentation mode sets DND, asserts a Wayland idle inhibitor and pauses
breaktimer. The effects hang off the mode property rather than the setter,
so a mode set with statusctl while the drawer is closed asserts them too.
DND has two writers once presentation mode exists, so turning presentation
off restores the value DND had before rather than clearing it, or an
afternoon of hand-set DND would vanish when a talk ends. That prior value
lives in the singleton, not in a file: it means nothing once presentation
mode is off, and presentation mode does not survive a reboot.
breaktimer owns its own state file and is driven only through its verbs.
Two writers on that file would race with its daemon loop.
Diffstat (limited to 'desktop/modules/status/StatusTile.qml')
0 files changed, 0 insertions, 0 deletions
