Setting dmenu-separator=\\n will now correctly set it to \n
This commit is contained in:
parent
fadbfd4c13
commit
e00b1bde67
@ -35,6 +35,10 @@ void wofi_dmenu_init(struct mode* this, struct map* config) {
|
|||||||
parse_action = strcmp(config_get(config, "parse_action", "false"), "true") == 0;
|
parse_action = strcmp(config_get(config, "parse_action", "false"), "true") == 0;
|
||||||
separator = config_get(config, "separator", "\n");
|
separator = config_get(config, "separator", "\n");
|
||||||
|
|
||||||
|
if(strcmp(separator, "\\n") == 0) {
|
||||||
|
separator = "\n";
|
||||||
|
}
|
||||||
|
|
||||||
wl_list_init(&widgets);
|
wl_list_init(&widgets);
|
||||||
|
|
||||||
struct map* cached = map_init();
|
struct map* cached = map_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user