SketchyBar/plugins/clock.sh

9 lines
254 B
Bash
Raw Normal View History

2022-06-27 19:13:47 +02:00
#!/usr/bin/env sh
2021-08-09 19:06:10 +02:00
# 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')"
2021-08-09 19:06:10 +02:00