mirror of
https://github.com/0intro/wmii
synced 2025-02-13 04:44:30 +03:00
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
|
# Functions
|
||||||
fn proglist {
|
fn proglist {
|
||||||
/bin/ls -lL `{echo $* | tr : ' '} >[2]/dev/null |
|
/bin/ls -lL `{echo $* | tr : ' '} >[2]/dev/null |
|
||||||
@ -216,6 +207,19 @@ fn run_command {
|
|||||||
eval exec $* </dev/null
|
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
|
# Misc Setup
|
||||||
xsetroot -solid $WMII_BACKGROUND
|
xsetroot -solid $WMII_BACKGROUND
|
||||||
Action status &
|
Action status &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user