diff --git a/home/wayland/eww/config/scripts/get-active-workspace b/home/wayland/eww/config/scripts/get-active-workspace index 1e7f45d..689ff07 100755 --- a/home/wayland/eww/config/scripts/get-active-workspace +++ b/home/wayland/eww/config/scripts/get-active-workspace @@ -2,5 +2,5 @@ hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id' # print current active workspace id on workspace changes -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}' diff --git a/home/wayland/eww/config/scripts/get-workspaces b/home/wayland/eww/config/scripts/get-workspaces index 860f53f..87b3d43 100755 --- a/home/wayland/eww/config/scripts/get-workspaces +++ b/home/wayland/eww/config/scripts/get-workspaces @@ -10,6 +10,6 @@ spaces (){ spaces # print info on workspace changes -socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do +socat -u UNIX-CONNECT:/$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do spaces done