adding better workspaces to eww
This commit is contained in:
parent
f7394076c1
commit
d34f4ab2b4
9 changed files with 55 additions and 33 deletions
5
.config/eww/scripts/get-active-workspace
Normal file
5
.config/eww/scripts/get-active-workspace
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
|
||||
|
||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
||||
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
Loading…
Add table
Add a link
Reference in a new issue