Systray: new config option systray_name_filter

This commit is contained in:
o9000
2017-03-04 15:50:09 +01:00
parent 1fc417e24e
commit 51211fa626
7 changed files with 60 additions and 20 deletions

View File

@@ -1009,8 +1009,10 @@ void add_entry(char *key, char *value)
systray.brightness = atoi(value3);
} else if (strcmp(key, "systray_monitor") == 0) {
systray_monitor = atoi(value) - 1;
} else if (strcmp(key, "systray_hide_by_icon_name") == 0) {
strcpy(systray_hide_icons, value);
} else if (strcmp(key, "systray_name_filter") == 0) {
if (systray_hide_name_filter)
free(systray_hide_name_filter);
systray_hide_name_filter = strdup(value);
}
/* Launcher */