Masked Images

ImgMask

class qtile_extras.images.ImgMask(*args, drawer: Drawer | None = None, **kwargs)[source]

Image object that uses the image source as a mask to paint the background.

Colour can be set at the moment of drawing, rather than preparing images in advance.

Loader

class qtile_extras.images.Loader(*directories, masked=True, **kwargs)[source]

Same as libqtile.images.Loader but takes an optional parameter, masked, to determine whether to use ImgMask class.