summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/items/messages.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /mac/.config/sketchybar/items/messages.sh
init
Diffstat (limited to 'mac/.config/sketchybar/items/messages.sh')
-rw-r--r--mac/.config/sketchybar/items/messages.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/mac/.config/sketchybar/items/messages.sh b/mac/.config/sketchybar/items/messages.sh
new file mode 100644
index 0000000..9ad9513
--- /dev/null
+++ b/mac/.config/sketchybar/items/messages.sh
@@ -0,0 +1,13 @@
+# Load global styles, colors and icons
+source "$CONFIG_DIR/globalstyles.sh"
+
+messages=(
+ "${notification_defaults[@]}"
+ icon=􀌤
+ background.color=$GREEN
+ script="$PLUGIN_DIR/messages.sh"
+ click_script="open -a /System/Applications/Messages.app"
+)
+
+sketchybar --add item messages right \
+ --set messages "${messages[@]}" \ No newline at end of file