Skip to main content

Module window_icon

Module window_icon 

Expand description

Resolves the raster icon named by the launcher’s TILO_APP_ICON, falling back to a generated Tilo icon when it is missing or invalid.

On Wayland, most compositors ignore a client-set toplevel icon (sourced from the app_id and a .desktop file instead).

Constants§

ICON_ENV

Functions§

resolve
The app’s own icon when ICON_ENV names a decodable raster image, otherwise the generated Tilo default. None only if even the default fails to build (it never should).