diff --git a/zsh/.profile.d/runwm.sh b/zsh/.profile.d/runwm.sh index 497b177..1954f21 100755 --- a/zsh/.profile.d/runwm.sh +++ b/zsh/.profile.d/runwm.sh @@ -2,7 +2,7 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then if [ -n "$DBUS_SESSION_BUS_ADDRESS" ]; then - exec dbus-launch --exit-with-session sway + exec dbus-run-session sway else echo "Cannot found dbus session: Sway don't work" fi