.xsessionrc

Sun, 03 Jan 2016 05:06:48 +0000

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 03 Jan 2016 05:06:48 +0000
changeset 234
a48cd1432365
parent 154
72e18304b485
child 161
f44901f85f39
child 270
dda2a7f4d485
permissions
-rw-r--r--

Try to avoid utf-8 if we don't seem to support it

#!/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