Skip to main content

Connection

Connectionโ€‹

Show details about the currently connected network.

info

Currently only supports Windows. Pull requests for Darwin and Linux support are welcome :)

Sample Configurationโ€‹

{
"type": "connection",
"style": "powerline",
"background": "#8822ee",
"foreground": "#222222",
"powerline_symbol": "๎‚ฐ"
}

Propertiesโ€‹

NameTypeDefaultDescription
typestringwifi|ethernetthe type of connection to display. Can be a single value or multiple joined by a pipe | . The first to resolve is shown. Possible values:
  • wifi
  • ethernet
  • bluetooth
  • cellular

Template (info)โ€‹

default template
{{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\ueba9{{ end }}

Propertiesโ€‹

NameTypeDescription
.Typestringthe connection type type. Single values of type above
.Namestringthe name of the connection
.SSIDstringthe SSID of the current wifi network