eww: Bar workspaces now sorted
This commit is contained in:
parent
3fb913b104
commit
8ed26c5b9e
1 changed files with 1 additions and 2 deletions
|
@ -1,11 +1,10 @@
|
||||||
#!/bin/dash
|
#!/bin/dash
|
||||||
|
|
||||||
spaces (){
|
spaces (){
|
||||||
hyprctl workspaces -j | jq -c 'map({id: .id, windows: .windows, monitor: .monitorID})'
|
hyprctl workspaces -j | jq -c 'map({id: .id, windows: .windows, monitor: .monitorID}) | sort_by(.id)'
|
||||||
}
|
}
|
||||||
|
|
||||||
spaces
|
spaces
|
||||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
||||||
spaces
|
spaces
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue