add private bin/ to path, run urxvtd and xcompmgr always if available mhoward-lt

Fri, 13 Jun 2014 10:34:30 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 13 Jun 2014 10:34:30 -0400
branch
mhoward-lt
changeset 48
692d2b9c7958
parent 47
d2b56ea4ec3d
child 49
126f4d05a213

add private bin/ to path, run urxvtd and xcompmgr always if available

.xsessionrc file | annotate | diff | comparison | revisions
.xsessionrc.local file | annotate | diff | comparison | revisions
--- a/.xsessionrc
+++ b/.xsessionrc
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+if [ -d ~/bin ]; then
+  export PATH="$HOME/bin:$PATH"
+fi
+
 if [ -d ~/.plenv ]; then
   export PATH="$HOME/.plenv/bin:$PATH"
   eval "$( plenv init - )"
@@ -10,8 +14,17 @@ if [ -d ~/.rbenv ]; then
   eval "$( rbenv init - )"
 fi
 
+
+if [ -x /usr/bin/urxvtd ]; then
+  /usr/bin/urxvtd -q -o -f
+fi
+
+if [ -x /usr/bin/xcompmgr ]; then
+  /usr/bin/xcompmgr -n &>/dev/null </dev/null &
+fi
+
+
 if [ -r ~/.xsessionrc.local ]; then
   . ~/.xsessionrc.local
 fi
 
-
--- a/.xsessionrc.local
+++ b/.xsessionrc.local
@@ -2,7 +2,6 @@
 
 /usr/bin/syndaemon -i 1 -d
 
-/usr/bin/xcompmgr -n &>/dev/null </dev/null &
 /usr/bin/xscreensaver -nosplash &>/dev/null </dev/null &
 /usr/bin/xfce4-power-manager
 

mercurial