diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-10 15:39:50 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-10 15:39:50 +0200 |
commit | 419e550effcb4bfa10f24d95475e035c3d8dddee (patch) | |
tree | 5432abb17cbe6dfd3dbb4a4216814ab3fc24dc2e | |
parent | 4bab7c1226ded4833e303c79a1a9ad1af090c59d (diff) |
eww: Fix paths for Hyprland socket
-rwxr-xr-x | .config/eww/scripts/active-workspace-listener | 2 | ||||
-rwxr-xr-x | .config/eww/scripts/workspace-list-listener | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/eww/scripts/active-workspace-listener b/.config/eww/scripts/active-workspace-listener index 3c47e87..f8704b8 100755 --- a/.config/eww/scripts/active-workspace-listener +++ b/.config/eww/scripts/active-workspace-listener @@ -1,6 +1,6 @@ #!/bin/sh -readonly IPC=/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock +readonly IPC="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" { hyprctl -j monitors diff --git a/.config/eww/scripts/workspace-list-listener b/.config/eww/scripts/workspace-list-listener index f91b2e4..c7ff7fb 100755 --- a/.config/eww/scripts/workspace-list-listener +++ b/.config/eww/scripts/workspace-list-listener @@ -1,6 +1,6 @@ #!/bin/sh -readonly IPC=/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock +readonly IPC="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" hyprctl -j workspaces | jq -cr ' [.[].id] |