Added support for using \t as a separator in dmenu mode

This commit is contained in:
Scoopta 2020-03-07 21:12:14 -08:00
parent 8796993fb6
commit 7cdc682a6d

View File

@ -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);