mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
add config handlers
This commit is contained in:
parent
7262bf655f
commit
2154b7c7d6
2 changed files with 18 additions and 2 deletions
|
|
@ -27,7 +27,6 @@ void free_sway_variable(struct sway_variable *var) {
|
|||
struct cmd_results *cmd_set(int argc, char **argv) {
|
||||
char *tmp;
|
||||
struct cmd_results *error = NULL;
|
||||
if (!config->reading) return cmd_results_new(CMD_FAILURE, "set", "Can only be used in config file.");
|
||||
if ((error = checkarg(argc, "set", EXPECTED_AT_LEAST, 2))) {
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue