treewide: preliminary Wayland!
This commit is contained in:
parent
67798937bb
commit
2602b8bc1c
11 changed files with 197 additions and 11 deletions
6
res/eww-wayland/scripts/active-workspace.sh
Executable file
6
res/eww-wayland/scripts/active-workspace.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
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