From d0ef71dc2e15860fb99e8d49810dc6d91ec76f79 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 10 Nov 2026 19:58:53 +0100 Subject: 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 --- deckit/modules/actions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deckit/modules/actions.py') 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): -- cgit v1.2.3