Fixed a bug in how dbus is called from .xinitrc.

This commit is contained in:
Tyler Spivey
2025-07-23 16:44:26 -04:00
committed by Storm Dragon
parent 365d7ec37b
commit 0d818c3465

6
i38.sh
View File

@@ -358,7 +358,6 @@ cat << 'EOF' > ~/.xinitrc
# #
# Executed by startx (run your window manager from here) # Executed by startx (run your window manager from here)
dbus-launch
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
if [ -d /etc/X11/xinit/xinitrc.d ]; then if [ -d /etc/X11/xinit/xinitrc.d ]; then
@@ -371,10 +370,7 @@ fi
[ -f /etc/xprofile ] && . /etc/xprofile [ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile [ -f ~/.xprofile ] && . ~/.xprofile
export DBUS_SESSION_BUS_PID exec dbus-run-session -- i3
export DBUS_SESSION_BUS_ADDRESS
exec i3
EOF EOF
chmod +x ~/.xinitrc chmod +x ~/.xinitrc
} }