move dbus activation to i3 config
This commit is contained in:
parent
fbf887e44f
commit
5693eac970
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue