Add hyprland instance signature to handle_monitor_connect.sh (#254)

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
1 changed files with 1 additions and 1 deletions

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.