move dbus activation to i3 config

This commit is contained in:
Simon Rieger 2023-06-05 12:01:38 +02:00
parent fbf887e44f
commit 5693eac970
2 changed files with 3 additions and 4 deletions

View file

@ -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 ~/desktop-bilder/background.jpg
#exec_always --no-startup-id feh --bg-scale /opt/deadc0de-os-code/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 ;-) # conky ;-)
#exec --no-startup-id /opt/.Conky/startconky.sh now #exec --no-startup-id /opt/.Conky/startconky.sh now

View file

@ -8,10 +8,6 @@ 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