.xsessionrc

Thu, 28 Jan 2016 23:06:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 28 Jan 2016 23:06:19 -0500
changeset 249
5bba2e094584
parent 154
72e18304b485
child 161
f44901f85f39
child 270
dda2a7f4d485
permissions
-rw-r--r--

Move helper scripts into bin with common names

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