add start dbus in profile
This commit is contained in:
parent
3d41701524
commit
f4da91a6f3
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
|
||||||
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
|
# Falls autostartdesktop auf i3 gesetzt wird, wird i3 statt sway gestartet
|
||||||
if [ "${autostartdesktop}" = "i3" ]; then
|
if [ "${autostartdesktop}" = "i3" ]; then
|
||||||
|
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
|
||||||
|
|
||||||
|
export XDG_CURRENT_DESKTOP=i3
|
||||||
|
|
||||||
echo "exec i3" > ~/.xinitrc
|
echo "exec i3" > ~/.xinitrc
|
||||||
startx
|
startx
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue