summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/plugins/thunderbird.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/sketchybar/plugins/thunderbird.sh')
-rw-r--r--mac/.config/sketchybar/plugins/thunderbird.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/mac/.config/sketchybar/plugins/thunderbird.sh b/mac/.config/sketchybar/plugins/thunderbird.sh
deleted file mode 100644
index 53f8e31..0000000
--- a/mac/.config/sketchybar/plugins/thunderbird.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-TEXT=$(lsappinfo info -only StatusLabel "Thunderbird" | grep -o '"label"="[0-9]*"' | awk -F'"' '{print $4}')
-
-if [[ $TEXT -gt 0 ]]; then
- sketchybar -m --set $NAME drawing=on label="$TEXT"
-else
- sketchybar -m --set $NAME drawing=off
-fi