From ffe2d07becc5f5f0f7bae72d9af9677529400b97 Mon Sep 17 00:00:00 2001 From: scorpion-26 Date: Sat, 28 Oct 2023 23:05:06 +0200 Subject: [PATCH] Fix wrong Widget name in hardcoded config Sound != Audio --- src/Bar.cpp | 2 +- src/Config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bar.cpp b/src/Bar.cpp index 986f561..c022406 100644 --- a/src/Bar.cpp +++ b/src/Bar.cpp @@ -1056,7 +1056,7 @@ namespace Bar return; } 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"); } diff --git a/src/Config.h b/src/Config.h index 318ed0d..5033bab 100644 --- a/src/Config.h +++ b/src/Config.h @@ -10,7 +10,7 @@ class Config public: std::vector widgetsLeft = {"Workspaces"}; std::vector widgetsCenter = {"Time"}; - std::vector widgetsRight = {"Tray", "Sound", "Bluetooth", "Network", "Disk", "VRAM", "GPU", "CPU", "Battery", "Power"}; + std::vector widgetsRight = {"Tray", "Audio", "Bluetooth", "Network", "Disk", "VRAM", "GPU", "CPU", "Battery", "Power"}; std::string cpuThermalZone = ""; // idk, no standard way of doing this. std::string networkAdapter = "eno1"; // Is this standard?