From: Mark Wooding Date: Thu, 2 Jun 2011 14:57:38 +0000 (+0100) Subject: dot/xinitrc: Run an early user hook script. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/27b6787d466dad36ec9b06cc1fa86c6e646e5350 dot/xinitrc: Run an early user hook script. I need this on ponder to set the screen resolution. In particular, then, it must be earlier than the xscsize(1) call. --- diff --git a/dot/xinitrc b/dot/xinitrc index 151b9a4..80c2a14 100755 --- 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.