clean up xinitrc
This commit is contained in:
parent
de249b8d6f
commit
f4d500729f
|
@ -1,17 +0,0 @@
|
|||
X11_CONFIG="$XDG_CONFIG_HOME/X11"
|
||||
SESSIONFILES=$(run-parts --list "$X11_CONFIG/xsession.d")
|
||||
|
||||
if [ -n "$SESSIONFILES" ]; then
|
||||
set +e
|
||||
for SESSIONFILE in $SESSIONFILES; do
|
||||
message "Executing $SESSIONFILE"
|
||||
$SESSIONFILE
|
||||
done
|
||||
set -e
|
||||
fi
|
||||
|
||||
. "$X11_CONFIG/xprofile"
|
||||
|
||||
echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_address
|
||||
|
||||
dwm
|
|
@ -16,7 +16,9 @@ fi
|
|||
|
||||
. "$X11_CONFIG/xprofile"
|
||||
|
||||
echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_address
|
||||
echo $DBUS_SESSION_BUS_ADDRESS > $XDG_STATE_HOME/dbus_session_bus_address
|
||||
|
||||
dwm
|
||||
|
||||
kill $(jobs -p | awk "{print \$3}")
|
||||
'
|
||||
|
|
Loading…
Reference in New Issue