dotfiles/bottom_bar/plugins/temperature.sh

8 lines
226 B
Bash
Raw Normal View History

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