SketchyBar/plugins/clock.sh
2022-09-28 16:15:14 +02:00

8 lines
254 B
Bash
Executable file

#!/usr/bin/env sh
# The $NAME variable is passed from sketchybar and holds the name of
# the item invoking this script:
# https://felixkratz.github.io/SketchyBar/config/events#events-and-scripting
sketchybar --set $NAME label="$(date '+%d/%m %H:%M')"