dots/stow/.config/sketchybar/plugins/clock.sh

7 lines
254 B
Bash
Executable file

#!/bin/bash
# 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%l:%M %p')"