fix: update of presets and default configuration to reflect changes in Nerd Fonts 3.0 (#5162)

* Updated nf-mdi-* to nf-md-* symbols

The following symbols where changed
- directory.read_only
- memory_usage
- meson
- nim
- os.symbols.Garuda
- os.symbols.HardenedBSD
- os.symbols.Illumos
- os.symbols.OpenBSD
- os.symbols.OracleLinux
- os.symbols.Redox
- os.symbols.Solus
- os.symbols.Windows
- package
- rlang

* Updated nf-mdi-* to nf-md-* symbols (for all other presets)

The following symbols where changed
for pastel-powerline:
- directory.substitutions.Documents
- nim
for tokyo-night
- directory.substitutions.Documents
- golang

* Updated nf-mdi-* to nf-md-* symbols for the default configuration in modules in src/configs/*.rs

The following symbols where changed
- azure
- battery.full_symbol
- battery.charging_symbol
- battery.discharging_symbol
- battery.unknown_symbol
- battery.empty_symbol

* Updated config-schema.json

* Updated src/modules/*.rs docs/config/README.md

and used `nerdfix` to check if I overlook anything

* Fixed the battery discharging symbol in the tests

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jtrv <travershasemail@gmail.com>
This commit is contained in:
Mick Hohmann
2023-05-10 14:36:56 +02:00
committed by GitHub
parent 6625bd8fea
commit 2558c4588b
10 changed files with 76 additions and 76 deletions
@@ -14,7 +14,7 @@ symbol = " "
symbol = " "
[directory]
read_only = " "
read_only = " 󰌾"
[docker_context]
symbol = " "
@@ -59,13 +59,13 @@ symbol = " "
symbol = " "
[memory_usage]
symbol = " "
symbol = "󰍛 "
[meson]
symbol = " "
symbol = "󰔷 "
[nim]
symbol = " "
symbol = "󰆥 "
[nix_shell]
symbol = " "
@@ -87,10 +87,10 @@ Emscripten = " "
EndeavourOS = " "
Fedora = " "
FreeBSD = " "
Garuda = " "
Garuda = "󰛓 "
Gentoo = " "
HardenedBSD = " "
Illumos = " "
HardenedBSD = "󰞌 "
Illumos = "󰈸 "
Linux = " "
Mabox = " "
Macos = " "
@@ -100,22 +100,22 @@ MidnightBSD = " "
Mint = " "
NetBSD = " "
NixOS = " "
OpenBSD = " "
OpenBSD = "󰈺 "
openSUSE = " "
OracleLinux = " "
OracleLinux = "󰌷 "
Pop = " "
Raspbian = " "
Redhat = " "
RedHatEnterprise = " "
Redox = " "
Solus = " "
Redox = "󰀘 "
Solus = "󰠳 "
SUSE = " "
Ubuntu = " "
Unknown = " "
Windows = " "
Windows = "󰍲 "
[package]
symbol = " "
symbol = "󰏗 "
[pijul_channel]
symbol = "🪺 "
@@ -124,7 +124,7 @@ symbol = "🪺 "
symbol = " "
[rlang]
symbol = " "
symbol = "󰟔 "
[ruby]
symbol = " "
@@ -54,15 +54,15 @@ truncation_symbol = "…/"
# Here is how you can shorten some long paths by text replacement
# similar to mapped_locations in Oh My Posh:
[directory.substitutions]
"Documents" = " "
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
# Keep in mind that the order matters. For example:
# "Important Documents" = "  "
# "Important Documents" = " 󰈙 "
# will not be replaced, because "Documents" was already substituted before.
# So either put "Important Documents" before "Documents" or use the substituted version:
# "Important " = "  "
# "Important 󰈙 " = " 󰈙 "
[c]
symbol = " "
@@ -123,7 +123,7 @@ style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
[nim]
symbol = " "
symbol = "󰆥 "
style = "bg:#86BBD8"
format = '[ $symbol ($version) ]($style)'
@@ -23,7 +23,7 @@ truncation_length = 3
truncation_symbol = "…/"
[directory.substitutions]
"Documents" = " "
"Documents" = "󰈙 "
"Downloads" = " "
"Music" = " "
"Pictures" = " "
@@ -48,7 +48,7 @@ style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
[golang]
symbol = ""
symbol = ""
style = "bg:#212736"
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'