Skip to main content

detect_icon_theme

Function detect_icon_theme 

Source
pub fn detect_icon_theme() -> String
Expand description

Detect the icon theme name for the current platform without caching.

Unlike system_icon_theme(), this function queries the OS every time it is called and never caches the result. Use this when polling for icon theme changes (e.g., the user switches from Breeze to Breeze Dark in system settings).

See system_icon_theme() for platform behavior details.