Add idle lock indicator

This commit is contained in:
David Heinemeier Hansson committed 2026-02-20 16:48:36 +01:00
1 parent 87600497da
commit bf962f0042
5 files changed
+62 -3

No files matched your search

+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