diff --git a/dot_config/i3/executable_config.tmpl b/dot_config/i3/executable_config.tmpl index 8887655..3d244e4 100644 --- a/dot_config/i3/executable_config.tmpl +++ b/dot_config/i3/executable_config.tmpl @@ -475,6 +475,9 @@ exec --no-startup-id ~/.screenlayout/monitor.sh exec_always --no-startup-id feh --bg-scale ~/desktop-bilder/background.jpg #exec_always --no-startup-id feh --bg-scale /opt/deadc0de-os-code/background.jpg +# start dbus for xdg-desktop-portal-gtk.service user service +exec --no-startup-id "dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY" + # conky ;-) #exec --no-startup-id /opt/.Conky/startconky.sh now diff --git a/dot_zprofile b/dot_zprofile index fcf1bf4..671abe9 100644 --- a/dot_zprofile +++ b/dot_zprofile @@ -8,10 +8,6 @@ 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