fix(eww): fix incorrect path to hyprland socket2

This commit is contained in:
Kiana Sheibani 2024-08-03 09:49:15 -04:00
parent b53b88577c
commit d44facece9
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
hyprctl activewindow -j | jaq -c .
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 grep -ose '^activewindow>>' | while read -r line; do
hyprctl activewindow -j | jaq -c .
done