From 46978af7b828c9939ba5549332cdcd256009301c Mon Sep 17 00:00:00 2001 From: nevaforget Date: Sat, 28 Mar 2026 01:35:56 +0100 Subject: [PATCH] fix: Waybar-Modul ausblenden statt "?" wenn Headset nicht erreichbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Leerer text-Wert lässt Waybar das Modul automatisch verstecken. Cache-TTL zurück auf 300s. --- scripts/corsairctl-waybar.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/corsairctl-waybar.sh b/scripts/corsairctl-waybar.sh index 0e3bd17..60780a6 100755 --- a/scripts/corsairctl-waybar.sh +++ b/scripts/corsairctl-waybar.sh @@ -4,8 +4,8 @@ CACHE="/tmp/corsairctl-waybar.json" LOCK="/tmp/corsairctl-waybar.lock" -MAX_AGE=10 -FALLBACK='{"text":"󰋋 ?","tooltip":"HS80: nicht erreichbar","class":"offline","percentage":0}' +MAX_AGE=300 +FALLBACK='{"text":"","tooltip":"","class":"offline","percentage":0}' # Cache frisch genug? Direkt ausgeben. if [[ -f "$CACHE" ]] && [[ -s "$CACHE" ]]; then