authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-08 12:31:48-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2025-05-08 12:31:48-07:00
log6284571ffe87f9bf405d2d33a6a6a02083c9bf8c
treea020c5301ec1ce629008f71e2456bdd2657a1ae4
parent63d08c5d308557c29f23b7e3158288cc8d83b59d
signature Commit is signed but in an unrecognized format.

remove sketchybar reundent files


7 files changed, 0 insertions(+), 229 deletions(-)

files/sketchybar/executable_colors.sh deleted-26
...@@ -1,26 +0,0 @@
1#!/usr/bin/env sh
2
3# Color Palette
4export BLACK=0xff4c4f69
5export WHITE=0xffeff1f5
6export RED=0xffd20f39
7export GREEN=0xff40a02b
8export BLUE=0xff1e66f5
9export YELLOW=0xffdf8e1d
10export ORANGE=0xfffe640b
11export MAGENTA=0xffea76cb
12export GREY=0xff9ca0b0
13export TRANSPARENT=0xff000000
14export BLUE2=0xff7287fd
15
16# General bar colors
17export BAR_COLOR=0xeff1f5ff # Color of the bar
18export ICON_COLOR=0xff4c4f69
19export LABEL_COLOR=0xff4c4f69 # Color of all labels
20export BACKGROUND_1=0xffbcc0cc
21export BACKGROUND_2=0xffbcc0cc
22
23export POPUP_BACKGROUND_COLOR=$BLACK
24export POPUP_BORDER_COLOR=$WHITE
25
26export SHADOW_COLOR=$BLACK
files/sketchybar/executable_sketchybarrc deleted-73
...@@ -1,73 +0,0 @@
1#!/usr/bin/env sh
2
3source "$HOME/.config/sketchybar/colors.sh" # Loads all defined colors
4source "$HOME/.config/sketchybar/icons.sh" # Loads all defined icons
5
6ITEM_DIR="$HOME/.config/sketchybar/items" # Directory where the items are configured
7PLUGIN_DIR="$HOME/.config/sketchybar/plugins" # Directory where all the plugin scripts are stored
8
9FONT="SF Pro" # Needs to have Regular, Bold, Semibold, Heavy and Black variants
10PADDINGS=3 # All paddings use this value (icon, label, background)
11
12# Setting up and starting the helper process
13HELPER=git.felix.helper
14killall helper
15cd $HOME/.config/sketchybar/helper && make
16$HOME/.config/sketchybar/helper/helper $HELPER > /dev/null 2>&1 &
17
18# Unload the macOS on screen indicator overlay for volume change
19launchctl unload -F /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist > /dev/null 2>&1 &
20
21# Setting up the general bar appearance and default values
22sketchybar --bar height=50 \
23 color=$BAR_COLOR \
24 shadow=off \
25 position=top \
26 sticky=on \
27 padding_right=7 \
28 padding_left=7 \
29 corner_radius=12 \
30 y_offset=20 \
31 margin=40 \
32 blur_radius=0 \
33 notch_width=0 \
34 \
35 --default updates=when_shown \
36 icon.font="$FONT:Bold:14.0" \
37 icon.color=$ICON_COLOR \
38 icon.padding_left=$PADDINGS \
39 icon.padding_right=$PADDINGS \
40 label.font="$FONT:Semibold:13.0" \
41 label.color=$LABEL_COLOR \
42 label.padding_left=$PADDINGS \
43 label.padding_right=$PADDINGS \
44 background.padding_right=$PADDINGS \
45 background.padding_left=$PADDINGS \
46 background.height=26 \
47 background.corner_radius=9 \
48 popup.background.border_width=2 \
49 popup.background.corner_radius=11 \
50 popup.background.border_color=$POPUP_BORDER_COLOR \
51 popup.background.color=$POPUP_BACKGROUND_COLOR \
52 popup.background.shadow.drawing=on
53
54# Left
55source "$ITEM_DIR/apple.sh"
56source "$ITEM_DIR/spaces.sh"
57source "$ITEM_DIR/front_app.sh"
58
59# Center
60# source "$ITEM_DIR/spotify.sh"
61source "$ITEM_DIR/calendar.sh"
62
63# Right
64source "$ITEM_DIR/brew.sh"
65# source "$ITEM_DIR/github.sh"
66source "$ITEM_DIR/volume.sh"
67source "$ITEM_DIR/divider.sh"
68# source "$ITEM_DIR/cpu.sh"
69
70# Forcing all item scripts to run (never do this outside of sketchybarrc)
71sketchybar --update
72
73echo "sketchybar configuation loaded.."
files/sketchybar/items/executable_calendar.sh deleted-12
...@@ -1,12 +0,0 @@
1#!/usr/bin/env sh
2
3sketchybar --add item calendar center \
4 --set calendar icon=cal \
5 icon.font="$FONT:Black:12.0" \
6 icon.padding_right=0 \
7 label.width=50 \
8 label.align=right \
9 background.padding_left=15 \
10 update_freq=30 \
11 script="$PLUGIN_DIR/calendar.sh" \
12 click_script="$PLUGIN_DIR/zen.sh"
files/sketchybar/items/executable_front_app.sh deleted-29
...@@ -1,29 +0,0 @@
1#!/usr/bin/env sh
2
3FRONT_APP_SCRIPT='sketchybar --set $NAME label="$INFO"'
4
5sketchybar --add event window_focus \
6 --add event windows_on_spaces \
7 --add item system.yabai left \
8 --set system.yabai script="$PLUGIN_DIR/yabai.sh" \
9 icon.font="$FONT:Bold:16.0" \
10 label.drawing=off \
11 icon.width=30 \
12 icon=$YABAI_GRID \
13 icon.color=$BLACK \
14 updates=on \
15 associated_display=active \
16 --subscribe system.yabai window_focus \
17 windows_on_spaces \
18 mouse.clicked \
19 \
20 --add item front_app left \
21 --set front_app script="$FRONT_APP_SCRIPT" \
22 icon.drawing=off \
23 background.padding_left=0 \
24 background.padding_right=10 \
25 label.color=$BLACK \
26 label.font="$FONT:Black:12.0" \
27 associated_display=active \
28 --subscribe front_app front_app_switched
29
files/sketchybar/items/executable_spaces.sh.tmpl deleted-39
...@@ -1,39 +0,0 @@
1#!/usr/bin/env sh
2
3SPACE_ICONS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10")
4SPACE_CLICK_SCRIPT="yabai -m space --focus \$SID 2>/dev/null"
5
6sid=0
7for i in "${!SPACE_ICONS[@]}"
8do
9 sid=$(($i+1))
10 sketchybar --add space space.$sid left \
11 --set space.$sid associated_space=$sid \
12 icon=${SPACE_ICONS[i]} \
13 icon.padding_left=22 \
14 icon.padding_right=22 \
15 label.padding_right=33 \
16 icon.highlight_color=$WHITE \
17 icon.color=0xff4c566a \
18 background.padding_left=-8 \
19 background.padding_right=-8 \
20 background.color=$BACKGROUND_1 \
21 background.drawing=on \
22 label.font="JetBrainsMono Nerd Font:Regular:16.0" \
23 label.background.height=26 \
24 label.background.drawing=on \
25 label.background.color=$BACKGROUND_2 \
26 label.background.corner_radius=9 \
27 label.drawing=off \
28 script="$PLUGIN_DIR/space.sh" \
29 click_script="$SPACE_CLICK_SCRIPT"
30done
31
32sketchybar --add item separator left \
33 --set separator icon= \
34 icon.font="JetBrainsMono Nerd Font:Regular:16.0" \
35 background.padding_left=26 \
36 background.padding_right=15 \
37 label.drawing=off \
38 associated_display=active \
39 icon.color=$GREEN
files/sketchybar/items/executable_volume.sh deleted-27
...@@ -1,27 +0,0 @@
1sketchybar --add item volume right \
2 --set volume script="$PLUGIN_DIR/volume.sh" \
3 updates=on \
4 icon.background.drawing=on \
5 icon.background.color=$GREEN \
6 icon.background.height=8 \
7 icon.background.corner_radius=3 \
8 icon.width=0 \
9 icon.align=right \
10 label.drawing=off \
11 background.drawing=on \
12 background.color=$BACKGROUND_2 \
13 background.height=8 \
14 background.corner_radius=3 \
15 align=left \
16 --subscribe volume volume_change
17
18sketchybar --add alias "Control Center,Sound" right \
19 --rename "Control Center,Sound" volume_alias \
20 --set volume_alias icon.drawing=off \
21 label.drawing=off \
22 alias.color=$WHITE \
23 background.padding_right=0 \
24 background.padding_left=5 \
25 width=50 \
26 align=right \
27 click_script="$PLUGIN_DIR/volume_click.sh"
files/sketchybar/plugins/executable_volume.sh deleted-23
...@@ -1,23 +0,0 @@
1#!/usr/bin/env sh
2
3WIDTH=100
4
5volume_change() {
6 INITIAL_WIDTH=$(sketchybar --query $NAME | jq ".icon.width")
7 if [ "$INITIAL_WIDTH" -eq "0" ]; then
8 sketchybar --animate tanh 30 --set $NAME width=$WIDTH icon.width=$INFO
9 else
10 sketchybar --set $NAME icon.width=$INFO width=$WIDTH
11 fi
12
13 sleep 5
14 FINAL_WIDTH=$(sketchybar --query $NAME | jq ".icon.width")
15 if [ "$FINAL_WIDTH" -eq "$INFO" ]; then
16 sketchybar --animate tanh 30 --set $NAME width=0 icon.width=0
17 fi
18}
19
20case "$SENDER" in
21 "volume_change") volume_change
22 ;;
23esac