2023-11-16 22:29:39 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-11-18 19:56:03 +00:00
|
|
|
TEMP=$(~/.config/sketchybar/plugins/temp_sensor)
|
2023-11-16 22:29:39 +00:00
|
|
|
|
|
|
|
# The item invoking this script (name $NAME) will get its icon and label
|
|
|
|
# updated with the current battery status
|
2023-11-18 19:56:03 +00:00
|
|
|
sketchybar --set $NAME icon= label="${TEMP}°"
|