Saltar al contenido principal

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

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

Opciones

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

Plantilla (info)

plantilla predeterminada
 {{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\ueba9{{ end }}

Propiedades

NameTypeDescription
.Typestringthe connection type type. Single values of type above
.Namestringthe name of the connection