Skip to main content

OS

Whatโ€‹

Display OS specific info - defaults to Icon.

Sample Configurationโ€‹

{
"type": "os",
"style": "plain",
"foreground": "#26C6DA",
"background": "#546E7A",
"template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}๎‚ฑ",
"properties": {
"macos": "mac"
}
}

Propertiesโ€‹

NameTypeDefaultDescription
macosstring\uF179the string to use for macOS
linuxstring\uF17Cthe icon to use for Linux
windowsstring\uE62Athe icon to use for Windows
display_distro_namebooleanfalsedisplay the distro name or icon (for WSL and Linux)
almastring\uF31Dthe icon to use for Alma
alpinestring\uF300the icon to use for Alpine
aoscstring\uF301the icon to use for Aosc
archstring\uF303the icon to use for Arch
centosstring\uF304the icon to use for Centos
coreosstring\uF305the icon to use for Coreos
debianstring\uF306the icon to use for Debian
devuanstring\uF307the icon to use for Devuan
raspbianstring\uF315the icon to use for Raspbian
elementarystring\uF309the icon to use for Elementary
fedorastring\uF30athe icon to use for Fedora
gentoostring\uF30dthe icon to use for Gentoo
mageiastring\uF310the icon to use for Mageia
manjarostring\uF312the icon to use for Manjaro
mintstring\uF30ethe icon to use for Mint
nixosstring\uF313the icon to use for Nixos
opensusestring\uF314the icon to use for Opensuse
redhatstring\uF316the icon to use for Redhat
rockystring\uF32Bthe icon to use for Rocky
sabayonstring\uF317the icon to use for Sabayon
slackwarestring\uF319the icon to use for Slackware
ubuntustring\uF31bthe icon to use for Ubuntu

Template (info)โ€‹

default template
{{ if .WSL }}WSL at {{ end }}{{.Icon}}

Propertiesโ€‹

NameTypeDescription
.Iconstringthe OS icon