aboutsummaryrefslogtreecommitdiff
path: root/common/.config/sketchybar/plugins/clock.sh.org
blob: 1ab5ec3a080afb69577961c5cad22f41a8ad8121 (plain)
1
2
3
4
5
6
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