diff options
author | Dave Davenport <qball@gmpclient.org> | 2018-06-09 22:17:32 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2018-06-09 22:17:32 +0200 |
commit | c96ebfc2de1fc0fd7f78214dc9bce6996edaeae4 (patch) | |
tree | cc99c49bc609140149507f4d054e5c053bfa4bb9 /source | |
parent | 441c511296dd4416b86d02ee8c0672cd08808f33 (diff) |
Re-add icon-theme option.
Diffstat (limited to 'source')
-rw-r--r-- | source/rofi-icon-fetcher.c | 2 | ||||
-rw-r--r-- | source/xrmoptions.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/rofi-icon-fetcher.c b/source/rofi-icon-fetcher.c index 1c0dc6ca..f1038eca 100644 --- a/source/rofi-icon-fetcher.c +++ b/source/rofi-icon-fetcher.c @@ -30,6 +30,7 @@ #include "rofi-icon-fetcher.h" #include "rofi-types.h" #include "helper.h" +#include "settings.h" typedef struct { @@ -131,6 +132,7 @@ static void rofi_icon_fetcher_worker ( thread_state *sdata, G_GNUC_UNUSED gpoint // this should be fine running in another thread. IconFetcherEntry *sentry = (IconFetcherEntry*) sdata; const gchar *themes[1] = { + config.icon_theme, NULL }; diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 36c296be..e66c78d9 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -130,7 +130,7 @@ static XrmOption xrmOptions[] = { "Command executed on accep-entry-custom for window modus", CONFIG_DEFAULT }, { xrm_String, "window-match-fields", { .str = &config.window_match_fields }, NULL, "Window fields to match in window mode", CONFIG_DEFAULT }, - { xrm_String, "drun-icon-theme", { .str = &config.drun_icon_theme }, NULL, + { xrm_String, "icon-theme", { .str = &config.icon_theme }, NULL, "Theme to use to look for icons", CONFIG_DEFAULT }, { xrm_String, "drun-match-fields", { .str = &config.drun_match_fields }, NULL, |