.xsessionrc

branch
mhoward-lt
changeset 161
f44901f85f39
parent 70
431128b5fa0c
parent 154
72e18304b485
equal deleted inserted replaced
153:a006fee06b80 161:f44901f85f39
1 #!/bin/bash 1 #!/usr/bin/env bash
2 2
3 if [ -d ~/bin ]; then 3 if [ -d ~/bin ]; then
4 export PATH="$HOME/bin:$PATH" 4 export PATH="$HOME/bin:$PATH"
5 fi 5 fi
6 6
13 export PATH="$HOME/.rbenv/bin:$PATH" 13 export PATH="$HOME/.rbenv/bin:$PATH"
14 eval "$( rbenv init - )" 14 eval "$( rbenv init - )"
15 fi 15 fi
16 16
17 17
18 if [ -x /usr/bin/xcompmgr ]; then 18 if [ "$(uname -s)" = "OpenBSD" ]; then
19 /usr/bin/xcompmgr -n &>/dev/null </dev/null & 19 PATH="/usr/X11R6/bin:$PATH"
20 fi 20 fi
21 21
22 /usr/bin/xmodmap ~/.xmodmaprc 22
23 xcompmgr -n &>/dev/null </dev/null &
24
25 xmodmap ~/.xmodmaprc
23 26
24 if [ -r ~/.Xdefaults.local ]; then 27 if [ -r ~/.Xdefaults.local ]; then
25 /usr/bin/xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults 28 xrdb -quiet -merge -DUSE_LOCAL ~/.Xdefaults
26 fi 29 fi
27 30
28 if [ -x /usr/bin/urxvtd ]; then 31 urxvtd -q -o -f
29 /usr/bin/urxvtd -q -o -f
30 fi
31 32
32 if [ -r ~/.xsessionrc.local ]; then 33 if [ -r ~/.xsessionrc.local ]; then
33 . ~/.xsessionrc.local 34 . ~/.xsessionrc.local
34 fi 35 fi
35 36

mercurial