mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
waybar: Highlight battery status when critical
This commit is contained in:
parent
2179019cbc
commit
af9571ee1f
1 changed files with 5 additions and 4 deletions
|
|
@ -95,10 +95,7 @@
|
||||||
""
|
""
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
states = {
|
states.critical = 10;
|
||||||
critical = 5;
|
|
||||||
warning = 15;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -135,6 +132,10 @@
|
||||||
color: @theme_selected_fg_color;
|
color: @theme_selected_fg_color;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#battery.critical {
|
||||||
|
color: @error_color;
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue