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โ
- json
- yaml
- toml
{
"type": "connection",
"style": "powerline",
"background": "#8822ee",
"foreground": "#222222",
"powerline_symbol": "๎ฐ"
}
type: connection
style: powerline
background: "#8822ee"
foreground: "#222222"
powerline_symbol: ๎ฐ
type = "connection"
style = "powerline"
background = "#8822ee"
foreground = "#222222"
powerline_symbol = "๎ฐ"
Propertiesโ
Name | Type | Default | Description |
---|---|---|---|
type | string | wifi|ethernet | the type of connection to display. Can be a single value or multiple joined by a pipe
|
Template (info)โ
default template
{{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\ueba9{{ end }}
Propertiesโ
Name | Type | Description |
---|---|---|
.Type | string | the connection type type. Single values of type above |
.Name | string | the name of the connection |
.SSID | string | the SSID of the current wifi network |