mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Add framework for switching command sets
This will allow the bar {} block to have a different command set (and
also bar { colors { } }.
This commit is contained in:
parent
4f89735fc4
commit
44d0f731c3
3 changed files with 30 additions and 7 deletions
|
|
@ -224,7 +224,7 @@ bool read_config(FILE *file, bool is_active) {
|
|||
if (line[0] == '#') {
|
||||
continue;
|
||||
}
|
||||
struct cmd_results *res = config_command(line);
|
||||
struct cmd_results *res = config_command(line, block);
|
||||
switch(res->status) {
|
||||
case CMD_FAILURE:
|
||||
case CMD_INVALID:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue