Files
mac-dots/sketchybar/plugins/clock.sh
T
2026-05-14 21:16:36 +02:00

9 lines
256 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 '+%A, %d %b, %I:%M %p')"