#!/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" . "$X11_CONFIG/xprofile" echo "DBUS_SESSION_BUS_ADDRESS=\"$DBUS_SESSION_BUS_ADDRESS\"" > $XDG_STATE_HOME/dbus dwm '