powersaving options

This commit is contained in:
Reid 2024-05-14 17:59:41 -07:00
parent a40d7f3b98
commit d6ea3790f4
3 changed files with 22 additions and 11 deletions

View file

@ -165,17 +165,7 @@ in {
format = " {percentage}%";
tooltip-format = "{used:0.1f}GiB/{avail:0.1f}GiB used\n{swapUsed:0.1f}GiB/{swapAvail:0.1f}GiB swap";
};
"network" = {
format = "";
format-ethernet = "";
format-wifi = " {signalStrength}%";
format-disconnected = "";
tooltip-format = "{ifname} via {gwaddr}";
tooltip-format-wifi = "connected to {essid}";
tooltip-format-ethernet = "{ifname}";
tooltip-format-disconnected = "Disconnected";
};
"clock" = {
clock = {
format = "{:%H:%M}";
format-alt = "{:%a %b %d %R}";
tooltip-format = "<tt><small>{calendar}</small></tt>";
@ -201,6 +191,17 @@ in {
};
};
};
power-profiles-daemon = {
format = "{icon}";
tooltip-format = "Power profile: {profile}\nDriver: {driver}";
tooltip = true;
format-icons = {
default = "";
performance = " perf";
balanced = " balance";
power-saver = " save";
};
};
};
};
};