mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
docs(wifi): fix config block
disable md013 for code blocks(md)
This commit is contained in:
parent
f62b82dacb
commit
8269148aab
|
@ -3,3 +3,4 @@ MD014: false
|
||||||
MD038: false
|
MD038: false
|
||||||
line-length:
|
line-length:
|
||||||
line_length: 120
|
line_length: 120
|
||||||
|
code_blocks: false
|
||||||
|
|
|
@ -21,13 +21,12 @@ Currently only supports Windows and WSL. Pull requests for Darwin and Linux supp
|
||||||
"background": "#8822ee",
|
"background": "#8822ee",
|
||||||
"foreground": "#222222",
|
"foreground": "#222222",
|
||||||
"background_templates": [
|
"background_templates": [
|
||||||
"{{ if (not .Connected) }}#FF1111{{ end }}"
|
"{{ if (not .Connected) }}#FF1111{{ end }}",
|
||||||
"{{ if (lt .Signal 60) }}#DDDD11{{ else if (lt .Signal 90) }}#DD6611{{ else }}#11CC11{{ end }}"
|
"{{ if (lt .Signal 60) }}#DDDD11{{ else if (lt .Signal 90) }}#DD6611{{ else }}#11CC11{{ end }}"
|
||||||
],
|
],
|
||||||
"powerline_symbol": "\uE0B0",
|
"powerline_symbol": "\uE0B0",
|
||||||
"properties": {
|
"properties": {
|
||||||
"template": "{{ if .Connected }}\uFAA8{{ else }}\uFAA9{{ end }}
|
"template": "{{ if .Connected }}\uFAA8{{ else }}\uFAA9{{ end }} {{ if .Connected }}{{ .SSID }} {{ .Signal }}% {{ .ReceiveRate }}Mbps{{ else }}{{ .State }}{{ end }}"
|
||||||
{{ if .Connected }}{{ .SSID }} {{ .Signal }}% {{ .ReceiveRate }}Mbps{{ else }}{{ .State }}{{ end }}"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue