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
|
||||
|
||||
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
|
||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
||||
spaces
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue