--- id: connection title: Connection sidebar_label: 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 import Config from '@site/src/components/Config.js'; ## Properties | Name | Type | Description | | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `type` | `string` | the type of connection to display. Can be a single value or multiple joined by \| . The first to resolve is shown (**default value** is wifi\|ethernet). Possible values: | ## Template ([info][templates]) :::note default template ```template {{ if eq .Type \"wifi\"}}\uf1eb{{ else if eq .Type \"ethernet\"}}\udb80\ude00{{ 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 | [templates]: /docs/configuration/templates