summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar/items/brew.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/sketchybar/items/brew.sh')
-rw-r--r--mac/.config/sketchybar/items/brew.sh39
1 files changed, 0 insertions, 39 deletions
diff --git a/mac/.config/sketchybar/items/brew.sh b/mac/.config/sketchybar/items/brew.sh
deleted file mode 100644
index 4e58efd..0000000
--- a/mac/.config/sketchybar/items/brew.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# Trigger the brew_udpate event when brew update or upgrade is run from cmdline
-# e.g. via function in .zshrc or fish function
-
-POPUP_CLICK_SCRIPT="sketchybar --set $NAME popup.drawing=toggle"
-
-brew=(
- script="$PLUGIN_DIR/brew.sh"
- click_script="$POPUP_CLICK_SCRIPT"
- icon=􀐛
- label=?
- update_freq=30
- popup.align=right
- popup.height=20
- icon.padding_right=-1
- padding_left=0
- padding_right=-1
- y_offset=1
-)
-
-brew_details=(
- background.corner_radius=12
- background.padding_left=5
- background.padding_right=10
- click_script="sketchybar --set brew popup.drawing=off"
-)
-
-sketchybar --add event brew_update \
- --add item brew right \
- --set brew "${brew[@]}" \
- \
- --subscribe brew brew_update \
- mouse.entered \
- mouse.exited \
- mouse.exited.global \
- \
- --add item brew.details popup.brew \
- --set brew.details "${brew_details[@]}"