.xsessionrc

Mon, 01 Jun 2015 17:12:47 -0700

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 01 Jun 2015 17:12:47 -0700
changeset 185
4e227517a5cd
parent 154
72e18304b485
child 161
f44901f85f39
child 270
dda2a7f4d485
permissions
-rw-r--r--

chdir not actually available everywhere

#!/usr/bin/env 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 [ "$(uname -s)" = "OpenBSD" ]; then
  PATH="/usr/X11R6/bin:$PATH"
fi


xcompmgr -n &>/dev/null </dev/null &

xmodmap ~/.xmodmaprc

if [ -r ~/.Xdefaults.local ]; then
  xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults
fi

urxvtd -q -o -f

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

mercurial