1
0
Fork 0

clean up xinitrc

This commit is contained in:
Luca Bilke 2023-12-21 10:17:40 +01:00
parent de249b8d6f
commit f4d500729f
2 changed files with 3 additions and 18 deletions

View File

@ -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

View File

@ -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}")
'