.xsessionrc

Sat, 14 Jun 2014 23:06:56 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 14 Jun 2014 23:06:56 -0400
changeset 56
e341df2dafda
parent 52
ab3e58416aa0
child 57
8af5835e43e1
permissions
-rw-r--r--

Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp

#!/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 ~/.Xdefaults.local ]; then
  /usr/bin/xrdb -quiet -merge -cpp /usr/bin/cpp ~/.Xdefaults.local
fi

if [ -r ~/.xsessionrc.local ]; then
  . ~/.xsessionrc.local
fi

mercurial