add start dbus in profile

This commit is contained in:
Simon Rieger 2023-06-01 14:33:44 +02:00
parent 3d41701524
commit f4da91a6f3

View file

@ -8,6 +8,10 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
if [ "${autostartdesktop}" = "i3" ]; then
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
export XDG_CURRENT_DESKTOP=i3
echo "exec i3" > ~/.xinitrc
startx
else