mirror of
https://github.com/0intro/wmii
synced 2024-11-25 07:09:38 +03:00
Fix wmiirc's M-a
This commit is contained in:
parent
ed57a3c76d
commit
9b33a19f0a
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user