mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 12:51: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 = {
|
||||
critical = 5;
|
||||
warning = 15;
|
||||
};
|
||||
states.critical = 10;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -135,6 +132,10 @@
|
|||
color: @theme_selected_fg_color;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#battery.critical {
|
||||
color: @error_color;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue