summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/items/github.sh
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-23 12:42:37 +0900
commit07d294425a98ee5d1e22d03e2b24ae2c76e487c0 (patch)
treea6818f0d64438c5fdb88b00a35d944f80c056213 /mac/.config/sketchybar/items/github.sh
parent6fc28cdb3529ca8ee864cb5c41674cb0a4af72a1 (diff)
updates
Diffstat (limited to 'mac/.config/sketchybar/items/github.sh')
-rw-r--r--mac/.config/sketchybar/items/github.sh37
1 files changed, 0 insertions, 37 deletions
diff --git a/mac/.config/sketchybar/items/github.sh b/mac/.config/sketchybar/items/github.sh
deleted file mode 100644
index 1a27fd5..0000000
--- a/mac/.config/sketchybar/items/github.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-POPUP_CLICK_SCRIPT="sketchybar --set \$NAME popup.drawing=toggle"
-
-github_bell=(
- padding_right=-5
- update_freq=180
- icon=$BELL
- icon.font="$FONT:Bold:15.0"
- icon.color=$BLUE
- label=$LOADING
- label.highlight_color=$BLUE
- popup.align=right
- script="$PLUGIN_DIR/github.sh"
- click_script="$POPUP_CLICK_SCRIPT"
-)
-
-github_template=(
- drawing=off
- background.corner_radius=12
- padding_left=7
- padding_right=7
- icon.background.height=2
- icon.background.y_offset=-12
-)
-
-sketchybar --add event github.update \
- --add item github.bell right \
- --set github.bell "${github_bell[@]}" \
- --subscribe github.bell mouse.entered \
- mouse.exited \
- mouse.exited.global \
- system_woke \
- github.update \
- \
- --add item github.template popup.github.bell \
- --set github.template "${github_template[@]}"