From 419e550effcb4bfa10f24d95475e035c3d8dddee Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 10 May 2024 15:39:50 +0200 Subject: eww: Fix paths for Hyprland socket --- .config/eww/scripts/active-workspace-listener | 2 +- .config/eww/scripts/workspace-list-listener | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.config/eww') 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] -- cgit v1.2.3