8 lines
163 B
Bash
8 lines
163 B
Bash
#!/bin/bash
|
|
|
|
if pgrep -x hypridle >/dev/null; then
|
|
echo '{"text": ""}'
|
|
else
|
|
echo '{"text": "", "tooltip": "Idle lock disabled", "class": "active"}'
|
|
fi
|