XDGKit v1.0.0-1
C++ XDG Utilities
Loading...
Searching...
No Matches
Public Attributes | List of all members
XDGKit::Options Struct Reference

Configuration options. More...

#include <XDGKit.h>

Public Attributes

bool useIconThemesCache { true }
 Enables icon theme caching.
 
bool autoReloadCache { true }
 Automatically reload icon themes.
 

Detailed Description

Configuration options.

Member Data Documentation

◆ useIconThemesCache

bool useIconThemesCache { true }

Enables icon theme caching.

When set to true, icon themes will be loaded from cached files stored in /var/cache/xdgkit/icon_themes, if available. This can significantly improve performance.

If false, the cache files will be ignored, and themes will be loaded directly.

◆ autoReloadCache

bool autoReloadCache { true }

Automatically reload icon themes.

Icon themes are reloaded when the cache has changed.

Note
Cache changes are only checked when XDG::XDGIconThemeManager::findIcon() is called. To manually trigger a check, use XDG::XDGIconThemeManager::reloadThemes(true).