1
0
Fork 0
dotfiles/.config/X11/realinit

20 lines
351 B
Bash
Executable File

#!/bin/sh
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