add Lenovox1en5 polybar & i3wm configs, change MacOS folder to macos

This commit is contained in:
Toniiz
2024-07-29 15:24:07 -07:00
parent 6cd88e865f
commit 45c0447ce6
29 changed files with 597 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/bash
if [ "$SENDER" = "space_windows_change" ]; then
space="$(echo "$INFO" | jq -r '.space')"
apps="$(echo "$INFO" | jq -r '.apps | keys[]')"
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 space.$space label="$icon_strip"
fi