user/eww-wayland: fix hypr socket paths

This commit is contained in:
LavaDesu 2024-07-02 09:51:31 +10:00
parent 1c6ac8c834
commit 602a475e7d
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 3 additions and 3 deletions

View file

@ -2,5 +2,5 @@
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'