mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
Cleanup icon theme code
Signed-off-by: Felix Weilbach <felix.weilbach@t-online.de>
This commit is contained in:
parent
93b60f799b
commit
59d245cf5b
4 changed files with 5 additions and 10 deletions
|
|
@ -335,11 +335,11 @@ static bool ipc_parse_config(
|
|||
wl_list_insert(&config->tray_bindings, &binding->link);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
json_object *icon_theme;
|
||||
if ((json_object_object_get_ex(bar_config, "icon_theme", &icon_theme))) {
|
||||
config->icon_theme = strdup(json_object_get_string(icon_theme));
|
||||
}
|
||||
#endif
|
||||
|
||||
json_object_put(bar_config);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue