1
0
Fork 0
mirror of https://github.com/hyprwm/hyprland-wiki.git synced 2025-04-09 20:11:51 +02:00

Add hyprland instance signature to handle_monitor_connect.sh ()

This commit is contained in:
Samuel Kogler 2023-06-22 13:15:52 +02:00 committed by GitHub
parent d5d5ece682
commit fd15935db7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ handle() {
esac
}
socat - UNIX-CONNECT:/tmp/hypr/.socket2.sock | while read -r line; do handle "$line"; done
socat - "UNIX-CONNECT:/tmp/hypr/${HYPRLAND_INSTANCE_SIGNATURE}/.socket2.sock" | while read -r line; do handle "$line"; done
```
if you want workspaces 1 2 4 5 to go to monitor 1 when connecting it.