From f4da91a6f3a6283ea642866876e25784a5ab4690 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 1 Jun 2023 14:33:44 +0200 Subject: [PATCH] add start dbus in profile --- dot_zprofile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_zprofile b/dot_zprofile index 671abe9..fcf1bf4 100644 --- a/dot_zprofile +++ b/dot_zprofile @@ -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