chiark
/
gitweb
/
~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 151b9a4b64e97d8da5e93751c76e03e96b793df8..80c2a1416b5d204bbbe6754acdbaaecccac857fb 100755
(executable)
--- a/
dot/xinitrc
+++ b/
dot/xinitrc
@@
-70,6
+70,13
@@
EOF
esac
done
+###--------------------------------------------------------------------------
+### Preliminary hook.
+
+if [ -r $HOME/.xinitrc-prehook ]; then
+ . $HOME/.xinitrc-prehook
+fi
+
###--------------------------------------------------------------------------
### Iniitial settings.