#!/bin/sh # This file runs when a DM logs you into a graphical session. # If you use startx/xinit like a Chad, this file will also be sourced. if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xrandr" ]; then . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xrandr" fi setbg & # set the background with the `setbg` script #xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & # Uncomment to use Xresources colors/settings on startup autostart="mpd xcompmgr dunst unclutter remapd" for program in $autostart; do pidof -sx "$program" || "$program" & done >/dev/null 2>&1 # Ensure that xrdb has finished running before moving on to start the WM/DE. [ -n "$xrdbpid" ] && wait "$xrdbpid"