Dotfiles with the latest changes

This commit is contained in:
2024-10-28 14:02:46 +01:00
parent d39336c479
commit fa6b78a382
108 changed files with 4459 additions and 467 deletions

View File

@@ -1,23 +1,17 @@
#!/bin/bash
#!/bin/sh
SPACE_SIDS=(1 2 3 4 5 6 7 8 9 10)
sketchybar --add event aerospace_workspace_change
for sid in "${SPACE_SIDS[@]}"
SPACE_STRS=(    󰏆   󰐫 )
for str in "${SPACE_STRS[@]}"
do
sketchybar --add space space.$sid left \
--set space.$sid space=$sid \
icon=$sid \
label.font="sketchybar-app-font:Regular:16.0" \
label.padding_right=20 \
label.y_offset=-1 \
script="$PLUGIN_DIR/space.sh"
sketchybar -m --add space $str left \
--subscribe $str aerospace_workspace_change \
--set $str icon=$str \
associated_display=1 \
label.font="sketchybar-app-font:Regular:16.0" \
label.padding_right=20 \
label.y_offset=-1\
script="$PLUGIN_DIR/space.sh $str"
done
sketchybar --add item space_separator left \
--set space_separator icon"" \
icon.color=$ACCENT_COLOR \
icon.padding_left=4 \
label.drawing=off \
background.drawing=off \
script="$PLUGIN_DIR/space_windows.sh" \
--subscribe space_separator space_windows_change