SketchyBar/plugins/clock.sh
2024-02-06 17:03:45 +01:00

8 lines
248 B
Bash
Executable file

#!/bin/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')"