feat: add setoption dispatch to allow change option by mmsg
This commit is contained in:
@@ -64,4 +64,5 @@ void toggle_render_border(const Arg *arg);
|
||||
void create_virtual_output(const Arg *arg);
|
||||
void destroy_all_virtual_output(const Arg *arg);
|
||||
void focuslast(const Arg *arg);
|
||||
void toggle_trackpad_enable(const Arg *arg);
|
||||
void toggle_trackpad_enable(const Arg *arg);
|
||||
void setoption(const Arg *arg);
|
||||
@@ -1353,3 +1353,9 @@ void zoom(const Arg *arg) {
|
||||
focusclient(sel, 1);
|
||||
arrange(selmon, false);
|
||||
}
|
||||
|
||||
void setoption(const Arg *arg) {
|
||||
parse_option(&config, arg->v, arg->v2);
|
||||
override_config();
|
||||
reset_option();
|
||||
}
|
||||
Reference in New Issue
Block a user