Fix some rc bugs, update wmiirc.

This commit is contained in:
Kris Maglione 2008-06-02 11:52:29 -04:00
parent 8a01b0b63e
commit d82f5b113a
2 changed files with 7 additions and 2 deletions

View File

@ -71,7 +71,7 @@ fn wi_fn-p {
fn wi_proglist {
# XXX: maxdepth is not POSIX compliant.
ifs=: { find -L `{echo $*} -type f -a -maxdepth 1 \
ifs=: { find -L `{echo -n $*} -type f -a -maxdepth 1 \
'(' -perm -0100 -o -perm -0010 -o -perm -0001 ')' >[2]/dev/null \
| sed 's,.*/,,' | sort | uniq}
}

View File

@ -42,6 +42,7 @@ status() {
echo -n $(uptime | sed 's/.*://; s/,//g') '|' $(date)
}
local_events() { true;}
wi_runconf -s wmiirc_local
echo $WMII_NORMCOLORS | wmiir create $noticebar
@ -180,6 +181,10 @@ events() {
wmiir xwrite /tag/sel/ctl select down
Key $MODKEY-$UP
wmiir xwrite /tag/sel/ctl select up
Key $MODKEY-Control-$DOWN
wmiir xwrite /tag/sel/ctl select down stack
Key $MODKEY-Control-$UP
wmiir xwrite /tag/sel/ctl select up stack
Key $MODKEY-Shift-$LEFT
wmiir xwrite /tag/sel/ctl send sel left
Key $MODKEY-Shift-$RIGHT
@ -200,7 +205,7 @@ events() {
}
wi_events <<!
$(events)
$local_events
$(local_events)
!
unset events local_events