Have rc.wmii source rc.wmii.local to allow local changes with the stock rc.wmii.

This commit is contained in:
Kris Maglione 2007-02-23 19:50:02 -05:00
parent e41895dda2
commit e4cf02d8f4
1 changed files with 13 additions and 9 deletions

View File

@ -178,15 +178,6 @@ for(i in `{seq 0 9}) {
}
}
# WM Configuration
wmiir write /ctl <<!
grabmod $MODKEY
border 2
font $WMII_FONT
focuscolors $WMII_FOCUSCOLORS
normcolors $WMII_NORMCOLORS
!
# Functions
fn proglist {
/bin/ls -lL `{echo $* | tr : ' '} >[2]/dev/null |
@ -216,6 +207,19 @@ fn run_command {
eval exec $* </dev/null
}
local = `{config_whatis rc.wmii.local}
if(! ~ $#local 0)
. $local
# WM Configuration
wmiir write /ctl <<!
grabmod $MODKEY
border 2
font $WMII_FONT
focuscolors $WMII_FOCUSCOLORS
normcolors $WMII_NORMCOLORS
!
# Misc Setup
xsetroot -solid $WMII_BACKGROUND
Action status &