[bin] Fix symlinking the SWAYSOCK when SWAY is not yet up

This commit is contained in:
Sebastian Schulze 2021-08-01 22:42:31 +02:00
parent 7be7f7f626
commit 87b54d4136
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
systemctl --user import-environment systemctl --user import-environment
dbus-update-activation-environment --systemd --all dbus-update-activation-environment --systemd --all
ln -sf "/run/user/$(id -u)/sway-ipc.$(id -u).$(pidof sway).sock" $SWAYSOCK ln -sf "/run/user/$(id -u)/sway-ipc.$(id -u).$(pidof sway).sock" "/run/user/$(id -u)/sway-ipc.sock"
swaymsg exec -- systemctl restart --user gnome-keyring.service swaymsg exec -- systemctl restart --user gnome-keyring.service
swaymsg exec -- systemctl restart --user nextcloud-client.service swaymsg exec -- systemctl restart --user nextcloud-client.service