Fix wrong Widget name in hardcoded config

Sound != Audio
This commit is contained in:
scorpion-26 2023-10-28 23:05:06 +02:00
parent 996a6611ad
commit ffe2d07bec
2 changed files with 2 additions and 2 deletions

View file

@ -1056,7 +1056,7 @@ namespace Bar
return; return;
} }
LOG("Warning: Unkwown widget name " << widgetName << "!" LOG("Warning: Unkwown widget name " << widgetName << "!"
<< "\n\tKnown names are: Workspaces, Time, Tray, Packages, Sound, Bluetooth, Network, Sensors, Disk, " << "\n\tKnown names are: Workspaces, Time, Tray, Packages, Audio, Bluetooth, Network, Sensors, Disk, "
"VRAM, GPU, RAM, CPU, Battery, Power"); "VRAM, GPU, RAM, CPU, Battery, Power");
} }

View file

@ -10,7 +10,7 @@ class Config
public: public:
std::vector<std::string> widgetsLeft = {"Workspaces"}; std::vector<std::string> widgetsLeft = {"Workspaces"};
std::vector<std::string> widgetsCenter = {"Time"}; std::vector<std::string> widgetsCenter = {"Time"};
std::vector<std::string> widgetsRight = {"Tray", "Sound", "Bluetooth", "Network", "Disk", "VRAM", "GPU", "CPU", "Battery", "Power"}; std::vector<std::string> widgetsRight = {"Tray", "Audio", "Bluetooth", "Network", "Disk", "VRAM", "GPU", "CPU", "Battery", "Power"};
std::string cpuThermalZone = ""; // idk, no standard way of doing this. std::string cpuThermalZone = ""; // idk, no standard way of doing this.
std::string networkAdapter = "eno1"; // Is this standard? std::string networkAdapter = "eno1"; // Is this standard?