~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6213a6b
)
dot/xinitrc: Run an early user hook script.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 2 Jun 2011 14:57:38 +0000
(15:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 2 Jun 2011 15:05:58 +0000
(16:05 +0100)
I need this on ponder to set the screen resolution. In particular, then,
it must be earlier than the xscsize(1) call.
dot/xinitrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/xinitrc
b/dot/xinitrc
index
151b9a4
..
80c2a14
100755
(executable)
--- a/
dot/xinitrc
+++ b/
dot/xinitrc
@@
-71,6
+71,13
@@
EOF
done
###--------------------------------------------------------------------------
+### Preliminary hook.
+
+if [ -r $HOME/.xinitrc-prehook ]; then
+ . $HOME/.xinitrc-prehook
+fi
+
+###--------------------------------------------------------------------------
### Iniitial settings.
## Assume X sessions are secure.