user/eww-wayland: rename to eww

This commit is contained in:
LavaDesu 2025-03-23 00:32:41 +11:00
parent 438eb54cea
commit da47e42111
Signed by: cilly
GPG key ID: 6500251E087653C9
7 changed files with 1 additions and 1 deletions

11
res/eww/scripts/workspaces.sh Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env sh
spaces (){
WORKSPACE_WINDOWS=$(hyprctl workspaces -j | jq 'map({key: .id | tostring, value: .windows}) | from_entries')
seq 1 10 | jq --argjson windows "${WORKSPACE_WINDOWS}" --slurp -Mc 'map(tostring) | map({id: ., windows: ($windows[.]//0)})'
}
spaces
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
spaces
done