Skip to main content

Module icon

Module icon 

Source
Expand description

The indicator’s icon: the identity kit’s micro mark (the variant drawn for 16–32 px, with larger eye cutouts), white for the dark panel, with a small dot for the state: none when all is well, blue-grey while working, amber for attention, red for a fault. Rendered here as ARGB pixmaps, so it needs no icon theme and keeps the eye cutouts transparent.

Constants§

MARK 🔒
SIZES
Sizes panels ask for.

Functions§

dot_color 🔒
mark_path 🔒
The mark’s path in its 1024-square box (absolute M, C and Z only).
render
The icon at size px, as ARGB32 in network byte order (what the StatusNotifierItem IconPixmap property carries), not premultiplied.