Fix wmiirc's M-a

This commit is contained in:
Kris Maglione 2009-03-18 18:16:13 -04:00
parent ed57a3c76d
commit 9b33a19f0a
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ _wi_script() {
for(k in d) {
printf "%s() {\n", k
printf " %s=$1; shift\n", tolower(k)
printf "case $%s in\n%s\nesac\n", tolower(k), d[k]
printf "case $%s in\n%s\n*) return 1\nesac\n", tolower(k), d[k]
printf "}\n"
}
}

View File

@ -149,7 +149,7 @@ events() {
Key $MODKEY-m
wmiir xwrite /tag/sel/ctl colmode sel stack+max
Key $MODKEY-a
Action $(wi_actions | wimenu -h "${hist}.actions" -n $histnum) &
action $(wi_actions | wimenu -h "${hist}.actions" -n $histnum) &
Key $MODKEY-p
eval wmiir setsid "$(wimenu -h "${hist}.progs" -n $histnum <$progsfile)" &
Key $MODKEY-t
@ -220,7 +220,7 @@ wi_proglist $PATH >$progsfile &
# Setup Tag Bar
IFS="$wi_nl"
wmiir rm $(wmiir ls /lbar | sed 's,^,/lbar/,')
wmiir rm $(wmiir ls /lbar | sed 's,^,/lbar/,') >/dev/null
seltag=$(wmiir read /tag/sel/ctl | sed 1q)
unset IFS
wi_tags | while read tag