Add idle lock indicator

This commit is contained in:
David Heinemeier Hansson
2026-02-20 16:48:36 +01:00
parent 87600497da
commit bf962f0042
5 changed files with 62 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
if pgrep -x hypridle >/dev/null; then
echo '{"text": ""}'
else
echo '{"text": "󱫖", "tooltip": "Idle lock disabled", "class": "active"}'
fi