summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar.yabai/items/thunderbird.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/sketchybar.yabai/items/thunderbird.sh')
-rwxr-xr-xmac/.config/sketchybar.yabai/items/thunderbird.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/mac/.config/sketchybar.yabai/items/thunderbird.sh b/mac/.config/sketchybar.yabai/items/thunderbird.sh
new file mode 100755
index 0000000..234b038
--- /dev/null
+++ b/mac/.config/sketchybar.yabai/items/thunderbird.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+thunderbird=(
+ "${notification_defaults[@]}"
+ icon=
+ icon.font.size=17
+ icon.color=$OSBLUE
+ icon.y_offset=0
+ background.color=$WHITE
+ script="$PLUGIN_DIR/thunderbird.sh"
+ click_script="open -a /System/Applications/Thunderbird.app"
+ icon.padding_left=7
+ icon.padding_right=-1
+ label.padding_right=7
+ background.padding_right=5
+ background.height=20
+)
+
+sketchybar --add item thunderbird right \
+ --set thunderbird "${thunderbird[@]}"