.xsessionrc

Mon, 16 Jun 2014 20:34:34 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 16 Jun 2014 20:34:34 -0400
changeset 67
fe836e76274d
parent 65
9c8f98eb7e1b
child 69
b33d2188bfb9
permissions
-rw-r--r--

oops, that's not a comment

42
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/bash
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2
52
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
3 if [ -d ~/bin ]; then
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
4 export PATH="$HOME/bin:$PATH"
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
5 fi
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
6
42
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 if [ -d ~/.plenv ]; then
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 export PATH="$HOME/.plenv/bin:$PATH"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 eval "$( plenv init - )"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 if [ -d ~/.rbenv ]; then
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13 export PATH="$HOME/.rbenv/bin:$PATH"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
14 eval "$( rbenv init - )"
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
15 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
52
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
17
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
18 if [ -x /usr/bin/xcompmgr ]; then
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
19 /usr/bin/xcompmgr -n &>/dev/null </dev/null &
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
20 fi
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
21
65
9c8f98eb7e1b add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents: 57
diff changeset
22 /usr/bin/xmodmap ~/.xmodmaprc
52
ab3e58416aa0 sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents: 42
diff changeset
23
56
e341df2dafda Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents: 52
diff changeset
24 if [ -r ~/.Xdefaults.local ]; then
57
8af5835e43e1 Avoid warning when no .Xdefaults.local exists
Meredith Howard <mhoward@roomag.org>
parents: 56
diff changeset
25 /usr/bin/xrdb -quiet -merge -cpp /usr/bin/cpp -DUSE_LOCAL ~/.Xdefaults
56
e341df2dafda Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents: 52
diff changeset
26 fi
e341df2dafda Allow .Xdefaults.local to be included, don\'t rely on system to run xrdb -cpp
Meredith Howard <mhoward@roomag.org>
parents: 52
diff changeset
27
65
9c8f98eb7e1b add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents: 57
diff changeset
28 if [ -x /usr/bin/urxvtd ]; then
9c8f98eb7e1b add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents: 57
diff changeset
29 /usr/bin/urxvtd -q -o -f
9c8f98eb7e1b add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents: 57
diff changeset
30 fi
9c8f98eb7e1b add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents: 57
diff changeset
31
42
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
32 if [ -r ~/.xsessionrc.local ]; then
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
33 . ~/.xsessionrc.local
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
34 fi
68940b625e5e x session fixup
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
35

mercurial