nixos/home/hyprland/ironbar/reference/states/internet/state.sh

9 lines
97 B
Bash
Raw Normal View History

2023-10-10 20:00:04 +01:00
#!/usr/bin/env bash
LOCK="/tmp/internet.lock"
if [ -f "$LOCK" ]; then
exit 1
else
exit 0
fi