From c80a54e42b52ce297f0f2f71af23c562832025c7 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 24 Jan 2025 20:35:27 +0900 Subject: init --- mac/.config/sketchybar/sketchybarrc | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 mac/.config/sketchybar/sketchybarrc (limited to 'mac/.config/sketchybar/sketchybarrc') diff --git a/mac/.config/sketchybar/sketchybarrc b/mac/.config/sketchybar/sketchybarrc new file mode 100644 index 0000000..f97aa3a --- /dev/null +++ b/mac/.config/sketchybar/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 -- cgit v1.2.3