summaryrefslogtreecommitdiff
path: root/mac/.config/sketchybar.mon/sketchybarrc
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/sketchybar.mon/sketchybarrc')
-rwxr-xr-xmac/.config/sketchybar.mon/sketchybarrc56
1 files changed, 56 insertions, 0 deletions
diff --git a/mac/.config/sketchybar.mon/sketchybarrc b/mac/.config/sketchybar.mon/sketchybarrc
new file mode 100755
index 0000000..96520fc
--- /dev/null
+++ b/mac/.config/sketchybar.mon/sketchybarrc
@@ -0,0 +1,56 @@
+PLUGIN_DIR="$CONFIG_DIR/plugins"
+ITEM_DIR="$CONFIG_DIR/items"
+
+# Load global styles, colors and icons
+source "$CONFIG_DIR/globalstyles.sh"
+
+POPUP_CLICK_SCRIPT="sketchybar --set \$NAME popup.drawing=toggle"
+POPUP_OFF="sketchybar --set \$NAME popup.drawing=off"
+
+# Setting up and starting the helper process
+HELPER=git.felix.helper
+killall helper
+(cd $CONFIG_DIR/helper && make)
+$CONFIG_DIR/helper/helper $HELPER >/dev/null 2>&1 &
+
+# Unload the macOS on screen indicator overlay for volume change
+launchctl unload -F /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist >/dev/null 2>&1 &
+
+sketchybar --bar "${bar[@]}" --default "${item_defaults[@]}"
+
+# Left
+# source "$ITEM_DIR/apple.sh"
+# source "$ITEM_DIR/yabai.sh"
+source "$ITEM_DIR/spaces.sh"
+source "$ITEM_DIR/front_app.sh"
+
+# Center
+# source "$ITEM_DIR/spotify.sh"
+# source "$ITEM_DIR/media.sh"
+source "$ITEM_DIR/music.sh"
+
+# Right
+# source "$ITEM_DIR/datetime.sh"
+# source "$ITEM_DIR/weather.sh"
+source "$ITEM_DIR/github.sh"
+source "$ITEM_DIR/brew.sh"
+# source "$ITEM_DIR/package_monitor.sh"
+# source "$ITEM_DIR/wifi.sh"
+# source "$ITEM_DIR/battery.sh"
+# source "$ITEM_DIR/keyboard.sh"
+# source "$ITEM_DIR/mic.sh"
+# source "$ITEM_DIR/volume.sh"
+source "$ITEM_DIR/kakaotalk.sh"
+source "$ITEM_DIR/mail.sh"
+# source "$ITEM_DIR/thunderbird.sh"
+source "$ITEM_DIR/svim.sh"
+source "$ITEM_DIR/messages.sh"
+source "$ITEM_DIR/toggle_stats.sh"
+source "$ITEM_DIR/separator_right.sh"
+source "$ITEM_DIR/disk.sh"
+source "$ITEM_DIR/memory.sh"
+source "$ITEM_DIR/cpu.sh"
+# source "$ITEM_DIR/network.sh"
+
+sketchybar --hotload on
+sketchybar --update