.xsessionrc

branch
mhoward-lt
changeset 45
2dcdfa99f87d
parent 41
ddd71c67e033
child 48
692d2b9c7958
--- a/.xsessionrc
+++ b/.xsessionrc
@@ -1,22 +1,17 @@
 #!/bin/bash
 
-export PATH="$HOME/.plenv/bin:$PATH"
-eval "$(plenv init -)"
+if [ -d ~/.plenv ]; then
+  export PATH="$HOME/.plenv/bin:$PATH"
+  eval "$( plenv init - )"
+fi
 
-export PATH="$HOME/.rbenv/bin:$PATH"
-eval "$(rbenv init -)"
+if [ -d ~/.rbenv ]; then
+  export PATH="$HOME/.rbenv/bin:$PATH"
+  eval "$( rbenv init - )"
+fi
+
+if [ -r ~/.xsessionrc.local ]; then
+  . ~/.xsessionrc.local
+fi
 
 
-/usr/bin/xset b off
-
-/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
-
-/usr/bin/pulseaudio --daemonize
-
-/usr/bin/nm-applet &>/dev/null </dev/null &
-
-

mercurial