Dotfiles V.1.1.5

Updated Neovim Plugins as well as cleaned up aerospace config and
sketbar config and added fastfetch config
This commit is contained in:
2025-06-11 22:16:38 +02:00
parent 1f4666f417
commit af9d88c05f
100 changed files with 2045 additions and 3328 deletions

View File

@@ -4,29 +4,11 @@ source "$CONFIG_DIR/colors.sh"
if [ "$1" = "$FOCUSED_WORKSPACE" ]; then
sketchybar --set $NAME background.drawing=on \
background.color=$ACCENT_COLOR \
background.color=$BLUE \
label.color=$BAR_COLOR \
icon.color=$BAR_COLOR
else
sketchybar --set $NAME background.drawing=off \
label.color=$ACCENT_COLOR \
icon.color=$ACCENT_COLOR
fi
if [ "$SENDER" = "aerospace_workspace_change" ]; then
apps=$(aerospace list-windows --workspace $1 | awk -F'|' '{gsub(/^ *| *$/, "", $2); print $2}')
icon_strip=" "
if [ "${apps}" != "" ]; then
while read -r app
do
icon_strip+=" $($CONFIG_DIR/plugins/icon_map_fn.sh "$app")"
done <<< "${apps}"
else
icon_strip=" —"
fi
sketchybar --set $1 label="$icon_strip"
label.color=$BLUE \
icon.color=$BLUE
fi