.xsessionrc

Thu, 31 Jul 2014 10:53:07 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 31 Jul 2014 10:53:07 -0400
changeset 118
ffbf97e1e3eb
parent 69
b33d2188bfb9
child 70
431128b5fa0c
child 154
72e18304b485
permissions
-rw-r--r--

Add urxvt mouse handling

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
69
b33d2188bfb9 -cpp not necessary
Meredith Howard <mhoward@roomag.org>
parents: 65
diff changeset
25 /usr/bin/xrdb -quiet -merge -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