Files
arthur-os/shell/scripts/indicators/idle.sh
T

8 lines
159 B
Bash
Executable File

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