power profiles daemon
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#custom-amd-gpu,
|
||||
#custom-nvidia,
|
||||
#memory,
|
||||
#power-profiles-daemon,
|
||||
#network {
|
||||
color: @text;
|
||||
padding: 0 0.5em;
|
||||
|
||||
@@ -42,7 +42,8 @@ in {
|
||||
"orientation" = "horizontal";
|
||||
"modules" = [ "network" "cpu" "memory" "temperature" ]
|
||||
++ lib.optionals osConfig.custom.hardware.nvidia.enable [ "custom/nvidia" ]
|
||||
++ lib.optionals osConfig.custom.hardware.amd-gpu.enable [ "custom/amd-gpu" ];
|
||||
++ lib.optionals osConfig.custom.hardware.amd-gpu.enable [ "custom/amd-gpu" ]
|
||||
++ lib.optionals osConfig.services.power-profiles-daemon.enable [ "power-profiles-daemon" ];
|
||||
};
|
||||
"group/other" = {
|
||||
"orientation" = "horizontal";
|
||||
@@ -149,6 +150,17 @@ in {
|
||||
};
|
||||
"status-icons" = { "paused" = "⏸"; };
|
||||
};
|
||||
"power-profiles-daemon" = {
|
||||
"format" = "{icon}";
|
||||
"tooltip-format" = "Power profile: {profile}\nDriver: {driver}";
|
||||
"tooltip" = true;
|
||||
"format-icons" = {
|
||||
"default" = "";
|
||||
"performance" = "";
|
||||
"balanced" = "";
|
||||
"power-saver" = "";
|
||||
};
|
||||
};
|
||||
"custom/nvidia" = {
|
||||
"format" = "{}";
|
||||
"interval" = 5;
|
||||
|
||||
Reference in New Issue
Block a user