Thu, 06 Jul 2017 01:30:49 -0400
simplify
.xsessionrc | file | annotate | diff | comparison | revisions |
--- a/.xsessionrc +++ b/.xsessionrc @@ -7,11 +7,14 @@ if [ "$PLATFORM" = "OpenBSD" ]; then PATH="/usr/X11R6/bin:$PATH" fi -hsetroot -solid "#002244" >/dev/null 2>&1 || \ +make -s -C ~/.i3 || { + cat ~/.i3/config.d/* > ~/.i3/config + cat ~/.i3/status.d/* > ~/.i3/status +} + +hsetroot -solid "#002244" || xsetroot -def -solid "#002244" -xcompmgr -n >/dev/null 2>&1 </dev/null & - xmodmap ~/.xmodmaprc if [ -r ~/.xmodmaprc.local ]; then xmodmap ~/.xmodmaprc.local @@ -21,12 +24,9 @@ if [ -r ~/.Xdefaults.local ]; then xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults fi -urxvtd -q -o -f +xcompmgr -n & -make -s -C ~/.i3 || { - cat ~/.i3/config.d/* > ~/.i3/config - cat ~/.i3/status.d/* > ~/.i3/status -} +urxvtd -o & if [ -r ~/.xsessionrc.local ]; then . ~/.xsessionrc.local @@ -37,7 +37,9 @@ if [ "$VIRT" = "yes" ]; then else xset b off s 300 dpms 360 xautolock -detectsleep & - pulseaudio --daemonize - nm-applet >/dev/null 2>&1 </dev/null & + pulseaudio --daemonize=no & + nm-applet & fi +jobs >&2 +