info-overview: Look for -text and -dark logo variants
When loading the LOGO icon name from /etc/os-release
, append -text
to
prefer a textual variant of the logo if it exists, and -dark
if the
theme variant is dark.
This allows distributors to ship textual and dark variants of their
logos without adding more fields to /etc/os-release
, or more code
specific to logo handling for specific distributions.
-
$LOGO
: default icon -
$LOGO-dark
: default icon when dark theme is used -
$LOGO-text
: icon with text -
$LOGO-text-dark
: icon with text when dark theme is used
Edited by Bastien Nocera