diff options
Diffstat (limited to 'macos/.config/sketchybar/plugins/clock.org')
-rw-r--r-- | macos/.config/sketchybar/plugins/clock.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macos/.config/sketchybar/plugins/clock.org b/macos/.config/sketchybar/plugins/clock.org new file mode 100644 index 0000000..1ab5ec3 --- /dev/null +++ b/macos/.config/sketchybar/plugins/clock.org @@ -0,0 +1,7 @@ +#+title: SketchyBar Clock Plugin + +Get the date and set it as the label. +#+begin_src sh :tangle ~/.config/sketchybar/plugins/clock.sh :mkdirp yes :tangle-mode o755 + #!/bin/sh + sketchybar --set "$NAME" label="$(date '+%Y-%m-%d %H:%M')" +#+end_src |