26 lines
497 B
Bash
Executable File
26 lines
497 B
Bash
Executable File
#!/bin/sh
|
|
# shellcheck disable=SC2016
|
|
|
|
[ -x "$XDG_CONFIG_HOME/X11/xrandr" ] && "$XDG_CONFIG_HOME/X11/xrandr"
|
|
[ -r "$XDG_CONFIG_HOME/X11/xresources" ] && xrdb "$XDG_CONFIG_HOME/X11/xresources"
|
|
|
|
exec dbus-run-session -- sh -c '
|
|
X11_CONFIG="$XDG_CONFIG_HOME/X11"
|
|
|
|
echo "Sourcing $X11_CONFIG/xprofile"
|
|
|
|
. "$X11_CONFIG/xprofile"
|
|
|
|
echo "DBUS_SESSION_BUS_ADDRESS=\"$DBUS_SESSION_BUS_ADDRESS\"" > $XDG_STATE_HOME/dbus
|
|
|
|
echo "Starting DWM"
|
|
|
|
dwm
|
|
|
|
echo "Exited DWM"
|
|
|
|
# echo "Killing Orphans"
|
|
|
|
# kill 15 -1
|
|
'
|