summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/items/calendar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/sketchybar/items/calendar.sh')
-rwxr-xr-xmac/.config/sketchybar/items/calendar.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/mac/.config/sketchybar/items/calendar.sh b/mac/.config/sketchybar/items/calendar.sh
new file mode 100755
index 0000000..62aadc8
--- /dev/null
+++ b/mac/.config/sketchybar/items/calendar.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+calendar=(
+ icon=􀐫
+ icon.font="$FONT:Black:12.0"
+ icon.padding_right=0
+ label.align=right
+ padding_left=15
+ update_freq=30
+ script="$PLUGIN_DIR/calendar.sh"
+ click_script="$PLUGIN_DIR/zen.sh"
+)
+
+sketchybar --add item calendar right \
+ --set calendar "${calendar[@]}" \
+ --subscribe calendar system_woke