Update IPC socket file location (#636)

* Update _index.md

Replace /tmp with XDG_RUNTIME_DIR

* Modified formatting
This commit is contained in:
Paolo 2024-05-06 18:19:48 +02:00 committed by GitHub
parent a237949fcb
commit ab8ab81cee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,14 +12,14 @@ via code / bash utilities.
echo $HYPRLAND_INSTANCE_SIGNATURE echo $HYPRLAND_INSTANCE_SIGNATURE
``` ```
## /tmp/hypr/\[HIS\]/.socket.sock ## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket.sock
Used for hyprctl-like requests. See the Used for hyprctl-like requests. See the
[Hyprctl page](../Configuring/Using-hyprctl) for commands. [Hyprctl page](../Configuring/Using-hyprctl) for commands.
basically, write `[flag(s)]/command args`. basically, write `[flag(s)]/command args`.
## /tmp/hypr/\[HIS\]/.socket2.sock ## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket2.sock
Used for events. Hyprland will write to each connected client live events like Used for events. Hyprland will write to each connected client live events like
this: this: