aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocal/bin/startsway7
1 files changed, 4 insertions, 3 deletions
diff --git a/local/bin/startsway b/local/bin/startsway
index 3982c19..262a997 100755
--- a/local/bin/startsway
+++ b/local/bin/startsway
@@ -14,9 +14,10 @@ export MOZ_ENABLE_WAYLAND=1
# Java application do not display properly
export _JAVA_AWT_WM_NONREPARENTING=1
-dbus="dbus-run-session"
if [ "$(ps -o comm= 1)" = "systemd" ]; then
- dbus=""
+ launch="systemd-cat --identifier=sway --stderr-priority=err"
+else
+ launch="dbus-run-session"
fi
-exec $dbus sway
+exec $launch sway