waybar split in files
This commit is contained in:
19
homeConfigs/global/wayland/waybar/battery.nix
Normal file
19
homeConfigs/global/wayland/waybar/battery.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.waybar.settings.mainBar = {
|
||||
battery = {
|
||||
bat = "BAT0";
|
||||
full-at = 79;
|
||||
states = {
|
||||
good = 20;
|
||||
critical = 15;
|
||||
};
|
||||
format-time = " {H}:{m}";
|
||||
format-discharging = "{icon} {capacity}%{time}";
|
||||
format-charging = " {capacity}%{time}";
|
||||
format-plugged = "";
|
||||
format-icons = [" " " " " " " " " "];
|
||||
interval = 10;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user