Wed, 04 May 2016 07:50:08 -0700
Add guard, guard-shell
270
dda2a7f4d485
nice up bashrc and xsessionrc
Meredith Howard <mhoward@roomag.org>
parents:
154
diff
changeset
|
1 | #!/bin/bash |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
2 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
3 | if [ "$(uname -s)" = "OpenBSD" ]; then |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
4 | PATH="/usr/X11R6/bin:$PATH" |
52
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 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
7 | xcompmgr -n &>/dev/null </dev/null & |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
8 | |
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
9 | xmodmap ~/.xmodmaprc |
52
ab3e58416aa0
sync changeset 692d2b9c7958 from default
Meredith Howard <mhoward@roomag.org>
parents:
42
diff
changeset
|
10 | |
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
|
11 | if [ -r ~/.Xdefaults.local ]; then |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
12 | 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
|
13 | 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
|
14 | |
154
72e18304b485
Fixes for trying to set up profile on OpenBSD
Meredith Howard <mhoward@roomag.org>
parents:
69
diff
changeset
|
15 | urxvtd -q -o -f |
65
9c8f98eb7e1b
add xmodmap, move urxvtd until after xmodmap and defaults
Meredith Howard <mhoward@roomag.org>
parents:
57
diff
changeset
|
16 | |
42 | 17 | if [ -r ~/.xsessionrc.local ]; then |
282
f6890bef382e
This stuff runs under sh anyway
Meredith Howard <mhoward@roomag.org>
parents:
280
diff
changeset
|
18 | . ~/.xsessionrc.local |
42 | 19 | fi |
20 |