nix fmt
This commit is contained in:
parent
9665bf524b
commit
403400c128
1 changed files with 14 additions and 13 deletions
|
@ -26,22 +26,23 @@ in {
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
|
||||||
modules-right = [
|
modules-right =
|
||||||
"keyboard-state"
|
[
|
||||||
"privacy"
|
"keyboard-state"
|
||||||
"cpu"
|
"privacy"
|
||||||
"memory"
|
"cpu"
|
||||||
"disk"
|
"memory"
|
||||||
"temperature"
|
"disk"
|
||||||
"tray"
|
"temperature"
|
||||||
]
|
"tray"
|
||||||
++ lists.optionals laptop [
|
]
|
||||||
"battery"
|
++ lists.optionals laptop [
|
||||||
];
|
"battery"
|
||||||
|
];
|
||||||
battery = mkIf laptop {
|
battery = mkIf laptop {
|
||||||
format = "{capacity}% {icon}";
|
format = "{capacity}% {icon}";
|
||||||
format-plugged = "{capacity}% {icon}";
|
format-plugged = "{capacity}% {icon}";
|
||||||
format-icons = [ "" "" "" "" "" "" "" "" "" "" "" ];
|
format-icons = ["" "" "" "" "" "" "" "" "" "" ""];
|
||||||
states = {
|
states = {
|
||||||
warning = 20;
|
warning = 20;
|
||||||
critical = 10;
|
critical = 10;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue