SketchyBar/plugins/clock.sh

9 lines
246 B
Bash
Raw Normal View History

2023-01-31 21:16:53 +00:00
#!/bin/sh
2021-08-09 17:06:10 +00: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 17:06:10 +00:00