sketchybar: remove wifi module
This commit is contained in:
parent
e8028e3a26
commit
bfea190a66
2 changed files with 0 additions and 16 deletions
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
ping -c 1 1.1.1.1 -t 15 &> /dev/null
|
|
||||||
|
|
||||||
if [ "$?" = "0" ]; then
|
|
||||||
sketchybar --set $NAME icon= drawing=false
|
|
||||||
else
|
|
||||||
sketchybar --set $NAME icon= drawing=true
|
|
||||||
fi
|
|
||||||
|
|
@ -158,13 +158,5 @@ sketchybar --add item audio right \
|
||||||
script="$PLUGIN_DIR/volume.sh" \
|
script="$PLUGIN_DIR/volume.sh" \
|
||||||
--subscribe audio volume_change \
|
--subscribe audio volume_change \
|
||||||
|
|
||||||
# Wifi
|
|
||||||
sketchybar --add item wifi right \
|
|
||||||
--set wifi script="$PLUGIN_DIR/wifi.sh" \
|
|
||||||
update_freq=60 \
|
|
||||||
background.padding_right=0 \
|
|
||||||
background.padding_left=0 \
|
|
||||||
label.padding_left=0
|
|
||||||
|
|
||||||
##### Force all scripts to run the first time (never do this in a script) #####
|
##### Force all scripts to run the first time (never do this in a script) #####
|
||||||
sketchybar --update
|
sketchybar --update
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue