dotfiles/bottom_bar/plugins/temperature.sh~
2023-11-18 20:56:03 +01:00

7 lines
226 B
Bash
Executable file

#!/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
sketchybar --set $NAME icon=label="${TEMP}°"