blob: 96520fc19a4dba1a013f92fc80041cf8da23662a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
|