diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 19:58:53 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 19:58:53 +0100 |
| commit | d0ef71dc2e15860fb99e8d49810dc6d91ec76f79 (patch) | |
| tree | f82a5d7c95765a142584f7d44cd82e412c55f7f2 /deckit/modules | |
| parent | f363c7052251da945724eb9c7e6fcd5eebadd393 (diff) | |
| download | deck-it-d0ef71dc2e15860fb99e8d49810dc6d91ec76f79.tar.gz deck-it-d0ef71dc2e15860fb99e8d49810dc6d91ec76f79.zip | |
fix(dashboard): review fixes
- The OBS slot has no one-tap stop: a tap opens the OBS tab, so a
stray touch cannot end a recording.
- Scrolling lines are measured once their slot is on screen, and
every slot again when one comes or goes.
- The lock watcher survives a missing pidof.
- Trend gradients are in user space, so a flat line still paints.
- Uptime under an hour shows minutes.
- The shell no longer imports panel files for the modules the
dashboard draws.
- The spec matches the build VM and OBS slots and the error wording.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'deckit/modules')
| -rw-r--r-- | deckit/modules/actions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deckit/modules/actions.py b/deckit/modules/actions.py index 276c753..057d3b2 100644 --- a/deckit/modules/actions.py +++ b/deckit/modules/actions.py @@ -40,7 +40,10 @@ def _popen(cmd): def _locked(): - return subprocess.run(["pidof", "hyprlock"], capture_output=True).returncode == 0 + try: + return subprocess.run(["pidof", "hyprlock"], capture_output=True).returncode == 0 + except OSError: + return False # no pidof: never locked, and the watcher keeps running def _key(code): |
