mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
Qt improvments. Created a custom battery icon tray
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# don't works. some GTK error. I let it here if someday, someone is interest in this shit.
|
||||
# ChatGPT half baked a replacement that works on my system.
|
||||
# see ../qt/qtbatticon
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.cbatticon = {
|
||||
enable = true;
|
||||
lowLevelPercent = 20;
|
||||
criticalLevelPercent = 5;
|
||||
batteryId = "BAT1";
|
||||
hideNotification = true; # we use another script for battery notifications
|
||||
updateIntervalSeconds = 10;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user