.xsessionrc

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 45
2dcdfa99f87d
child 60
d18a4be6db77
permissions
-rwxr-xr-x

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

#!/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 - )"
fi

if [ -d ~/.rbenv ]; then
  export PATH="$HOME/.rbenv/bin:$PATH"
  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

mercurial