simplify

Thu, 06 Jul 2017 01:30:49 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 06 Jul 2017 01:30:49 -0400
changeset 617
595c6f803258
parent 616
6c094ff1cb87
child 618
0305d79486fa

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
+

mercurial