eww add seperators & layouts

This commit is contained in:
2025-05-03 14:14:25 +02:00
parent 3704615cd4
commit bf3abbbeae
4 changed files with 110 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
line=$(cat /tmp/xmonad-eww-log)
IFS='|' read -r workspaces windows <<<"$line"
IFS='|' read -r workspaces layouts windows <<<"$line"
# Workspaces
workspaceArray=($workspaces)
i=0
@@ -15,5 +15,7 @@ for ws in "${workspaceArray[@]}"; do
eww update ws$i="ws-empty"
fi
done
# Layouts
eww update layouts="${layouts}"
# Windows
echo "${windows}"