sketchybar: init

This commit is contained in:
Nico 2025-10-04 13:45:49 +10:00
parent ded82a8f8b
commit ae71080920
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
10 changed files with 182 additions and 96 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
ping -c 1 1.1.1.1 &> /dev/null
if [ "$?" = "0" ]; then
sketchybar --set $NAME icon=󰖩
else
sketchybar --set $NAME icon=󰖪
fi