feat(power-profiles-daemon): split driver into cpu driver and platform driver

This commit is contained in:
Jeevitha Kannan K S
2025-03-21 16:23:39 +05:30
parent 8490a1d9b9
commit feb6dfb9d6
4 changed files with 28 additions and 12 deletions
+3 -2
View File
@@ -9,9 +9,10 @@ namespace waybar::modules {
struct Profile {
std::string name;
std::string driver;
std::string cpuDriver;
std::string platformDriver;
Profile(std::string n, std::string d) : name(std::move(n)), driver(std::move(d)) {}
Profile(std::string n, std::string cd, std::string pd) : name(std::move(n)), cpuDriver(std::move(cd)), platformDriver(std::move(pd)) {}
};
class PowerProfilesDaemon : public ALabel {