diff --git a/docs/labwc-config.5.scd b/docs/labwc-config.5.scd index 1c160a45..8742dd6a 100644 --- a/docs/labwc-config.5.scd +++ b/docs/labwc-config.5.scd @@ -481,7 +481,7 @@ extending outward from the snapped edge. The name of the Openbox theme to use. It is not set by default. ** - The name of the icon theme to use. It is not set by default. + The name of the icon theme to use. Inherits ** if not set. ** The name of the icon to use as a fallback when the application icon diff --git a/src/config/rcxml.c b/src/config/rcxml.c index 0dfdc604..90fcfe15 100644 --- a/src/config/rcxml.c +++ b/src/config/rcxml.c @@ -1683,6 +1683,10 @@ post_processing(void) rc.fallback_app_icon_name = xstrdup("labwc"); } + if (!rc.icon_theme_name && rc.theme_name) { + rc.icon_theme_name = xstrdup(rc.theme_name); + } + if (!rc.title_layout_loaded) { #if HAVE_LIBSFDO fill_title_layout("icon:iconify,max,close");