From c724b1ea33d95802e8fa2bdb1b410856e937470f Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 10 Aug 2024 16:41:17 -0700 Subject: [PATCH] fixed hyprland change --- modules/ewwbar/eww-config/scripts/get-active-workspace | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ewwbar/eww-config/scripts/get-active-workspace b/modules/ewwbar/eww-config/scripts/get-active-workspace index b1acc07..a95b286 100755 --- a/modules/ewwbar/eww-config/scripts/get-active-workspace +++ b/modules/ewwbar/eww-config/scripts/get-active-workspace @@ -1,6 +1,6 @@ #!/usr/bin/env bash -hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id' +# hyprctl monitors -j | jaq '.[] | 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}' +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}'