mirror of https://github.com/0intro/wmii
Have rc.wmii source rc.wmii.local to allow local changes with the stock rc.wmii.
This commit is contained in:
parent
e41895dda2
commit
e4cf02d8f4
22
rc/rc.wmii
22
rc/rc.wmii
|
@ -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 &
|
||||
|
|
Loading…
Reference in New Issue