Conexión
Traducción Beta No Oficial
Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →
Qué hace
Muestra detalles sobre la red conectada actualmente.
información
Actualmente solo es compatible con Windows. Se agradecen las pull requests para soporte en Darwin y Linux :)
Configuración de ejemplo
- 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 = ""
Opciones
| 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
|
Plantilla (info)
plantilla predeterminada
{{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\ueba9{{ end }}
Propiedades
| Name | Type | Description |
|---|---|---|
.Type | string | the connection type type. Single values of type above |
.Name | string | the name of the connection |