Added support for using \t as a separator in dmenu mode
This commit is contained in:
parent
8796993fb6
commit
7cdc682a6d
@ -41,6 +41,8 @@ void wofi_dmenu_init(struct mode* this, struct map* config) {
|
|||||||
separator = "\n";
|
separator = "\n";
|
||||||
} else if(strcmp(separator, "\\0") == 0) {
|
} else if(strcmp(separator, "\\0") == 0) {
|
||||||
separator = "\0";
|
separator = "\0";
|
||||||
|
} else if(strcmp(separator, "\\t") == 0) {
|
||||||
|
separator = "\t";
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_list_init(&widgets);
|
wl_list_init(&widgets);
|
||||||
|
Loading…
Reference in New Issue
Block a user