feat: support movewin and resizewin dispatch, fix dirtomon
feat: support resizewin fix: fix resizewin some error fix: fix dirtomon dir Avoid shortcut key conflicts
This commit is contained in:
@@ -477,6 +477,12 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value) {
|
||||
} else if (strcmp(func_name, "toggleview") == 0) {
|
||||
func = toggleview;
|
||||
(*arg).ui = 1 << (atoi(arg_value) - 1);
|
||||
} else if (strcmp(func_name, "movewin") == 0) {
|
||||
func = movewin;
|
||||
(*arg).i = parse_direction(arg_value);
|
||||
} else if (strcmp(func_name, "resizewin") == 0) {
|
||||
func = resizewin;
|
||||
(*arg).i = parse_direction(arg_value);
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
@@ -1378,4 +1384,4 @@ void reload_config(const Arg *arg) {
|
||||
}
|
||||
}
|
||||
arrange(selmon, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user