From 9a0bf63c0af38a44114c9eb56da4848558d0944c Mon Sep 17 00:00:00 2001 From: Cam F <105831998+spinningvenus@users.noreply.github.com> Date: Sat, 4 May 2024 11:10:02 +0000 Subject: [PATCH] update old socket directories (#630) Updated the documentation to reflect the correct directory --- pages/IPC/_index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/IPC/_index.md b/pages/IPC/_index.md index f61995b..97e9ed9 100644 --- a/pages/IPC/_index.md +++ b/pages/IPC/_index.md @@ -12,14 +12,14 @@ via code / bash utilities. echo $HYPRLAND_INSTANCE_SIGNATURE ``` -## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket.sock +## /tmp/hypr/\[HIS\]/.socket.sock Used for hyprctl-like requests. See the [Hyprctl page](../Configuring/Using-hyprctl) for commands. basically, write `[flag(s)]/command args`. -## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket2.sock +## /tmp/hypr/\[HIS\]/.socket2.sock Used for events. Hyprland will write to each connected client live events like this: @@ -89,5 +89,5 @@ handle() { esac } -socat -U - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read -r line; do handle "$line"; done +socat -U - UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock | while read -r line; do handle "$line"; done ```