mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
Replace Action- with Action_ in wmiirc
This commit is contained in:
parent
f02ebd6d4f
commit
59fe492d74
2
area.c
2
area.c
@ -417,7 +417,7 @@ select_area(Area *a, char *arg) {
|
||||
}else {
|
||||
if(sscanf(arg, "%u", &i) != 1 || i == 0)
|
||||
return Ebadvalue;
|
||||
for(new=view->area->next; new->next && i; new=new->next)
|
||||
for(new=view->area->next; new->next; new=new->next)
|
||||
if(!--i) break;
|
||||
}
|
||||
focus_area(new);
|
||||
|
@ -152,7 +152,7 @@ tagsmenu() {
|
||||
Action() {
|
||||
action=\$1; shift
|
||||
if [ -n "\$action" ]; then
|
||||
Action-\$action \$@ || \$(conf_which "\$action") \$@
|
||||
Action_\$action \$@ || \$(conf_which "\$action") \$@
|
||||
fi
|
||||
}
|
||||
|
||||
|
2
wmiiloop
2
wmiiloop
@ -41,7 +41,7 @@ END {
|
||||
for(action in actions) {
|
||||
gsub("\"", "\\\"", action)
|
||||
print "ACTIONS=\"$ACTIONS\n" action "\""
|
||||
print "Action-" action "() {" actions[action] "\n}"
|
||||
print "Action_" action "() {" actions[action] "\n}"
|
||||
}
|
||||
while(readevent | getline) {
|
||||
split($0, arg)
|
||||
|
@ -61,7 +61,7 @@ set to further arguments.
|
||||
.TP 2
|
||||
.BI "Action " name
|
||||
A function called
|
||||
.BI Action\- name
|
||||
.BI Action_ name
|
||||
is created with
|
||||
.I body
|
||||
as its body, and
|
||||
|
Loading…
Reference in New Issue
Block a user