Update all deprecated Material Design icons

All Material Design icons should now use their new code points.
This unbreaks gBar with Nerd Fonts v3.0.0
This commit is contained in:
scorpion-26 2023-05-03 23:21:21 +02:00
parent be47a62880
commit ecc52a81a5
4 changed files with 9 additions and 9 deletions

View file

@ -47,11 +47,11 @@ namespace AudioFlyin
muted = info.sinkMuted;
if (info.sinkMuted)
{
icon->SetText("");
icon->SetText("󰝟");
}
else
{
icon->SetText("");
icon->SetText("󰕾 ");
}
}
}

View file

@ -103,13 +103,13 @@ namespace Bar
else if (info.devices.empty())
{
btIconText->SetClass("bt-label-on");
btIconText->SetText("");
btIconText->SetText("󰂯");
btDevText->SetText("");
}
else
{
btIconText->SetClass("bt-label-connected");
btIconText->SetText("");
btIconText->SetText("󰂱");
std::string btDev;
std::string tooltip;
for (auto& dev : info.devices)

View file

@ -256,7 +256,7 @@ namespace BluetoothDevices
headerBox->SetClass("bt-header-box");
{
auto headerText = Widget::Create<Text>();
headerText->SetText(" Bluetooth");
headerText->SetText("󰂯 Bluetooth");
headerBox->AddChild(std::move(headerText));
auto headerRefresh = Widget::Create<Button>();

View file

@ -416,19 +416,19 @@ namespace System
{
if (dev.type == "input-keyboard")
{
return " ";
return "󰌌 ";
}
else if (dev.type == "input-mouse")
{
return " ";
return "󰍽 ";
}
else if (dev.type == "audio-headset")
{
return " ";
return "󰋋 ";
}
else if (dev.type == "input-gaming")
{
return " ";
return "󰖺 ";
}
return "";
}