9 lines
257 B
Bash
Executable File
9 lines
257 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 '+%m/%d/%Y %I:%M:%S %p')"
|
|
|