feat: add scroller stack support

This commit is contained in:
nixpup 2026-01-16 18:49:35 +01:00 committed by DreamMaoMao
parent ec5cff8dca
commit a7b06cfb04
8 changed files with 467 additions and 52 deletions

View file

@ -1060,6 +1060,9 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
} else if (strcmp(func_name, "toggle_monitor") == 0) {
func = toggle_monitor;
(*arg).v = strdup(arg_value);
} else if (strcmp(func_name, "scroller_stack") == 0) {
func = scroller_stack;
(*arg).i = parse_direction(arg_value);
} else {
return NULL;
}