i3-sway: only return current user's socket (#2914)
Constrain the pgrep command to only return results for the current user. Additionally, quote the socket variables to prevent splitting. Previously, if multiple users on a system were running `sway`, the `pgrep` used in finding `swaySocket` would return multiple results. As a result, reloads of sway would fail. Fixes #2912.main
parent
65a32578d9
commit
6f025b3825
Loading…
Reference in new issue