summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar.allapp/plugins/clock.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/sketchybar.allapp/plugins/clock.sh')
-rwxr-xr-xmac/.config/sketchybar.allapp/plugins/clock.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/mac/.config/sketchybar.allapp/plugins/clock.sh b/mac/.config/sketchybar.allapp/plugins/clock.sh
new file mode 100755
index 0000000..d24d6af
--- /dev/null
+++ b/mac/.config/sketchybar.allapp/plugins/clock.sh
@@ -0,0 +1,9 @@
+#!/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 %H:%M')"
+sketchybar --set "$NAME" label="$(date '+%m/%d %H:%M')"
+