mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 12:45:59 +01:00
update old socket directories (#630)
Updated the documentation to reflect the correct directory
This commit is contained in:
parent
707aaf6d48
commit
9a0bf63c0a
1 changed files with 3 additions and 3 deletions
|
@ -12,14 +12,14 @@ via code / bash utilities.
|
||||||
echo $HYPRLAND_INSTANCE_SIGNATURE
|
echo $HYPRLAND_INSTANCE_SIGNATURE
|
||||||
```
|
```
|
||||||
|
|
||||||
## $XDG_RUNTIME_DIR/hypr/\[HIS\]/.socket.sock
|
## /tmp/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`.
|
||||||
|
|
||||||
## $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
|
Used for events. Hyprland will write to each connected client live events like
|
||||||
this:
|
this:
|
||||||
|
@ -89,5 +89,5 @@ handle() {
|
||||||
esac
|
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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue