qxb3 / gruvbox.hypr

Gruvbox in Hyprland
MIT License
311 stars 9 forks source link

change `tmp/hypr` to `$XDG_RUNTIME_DIR/hypr/` in eww scripts #4

Closed pavel-hrdina closed 2 weeks ago

pavel-hrdina commented 3 months ago

Hyprland changed tmp/hypr to $XDG_RUNTIME_DIR/hypr/. This result in the eww scripts breaking. Mainly the workspaces.sh and activewindow.sh.

To fix this, the socat command needs to change to:

socat -u "UNIX-CONNECT:/$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"

from:

socat -u "UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
qxb3 commented 2 weeks ago

fixed on 9162032