2024-05-29 09:50:32 +02:00
|
|
|
{
|
|
|
|
pkgs
|
|
|
|
}:
|
2022-05-19 07:18:51 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
Unit = {
|
|
|
|
Description = "Battery Icon";
|
|
|
|
PartOf = "graphical-session.target";
|
|
|
|
};
|
|
|
|
|
|
|
|
Service = {
|
2024-03-26 09:58:29 +01:00
|
|
|
ExecStart = "${pkgs.cbatticon}/bin/cbatticon -l 30 -u 30";
|
2022-05-19 07:18:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
Install = {
|
|
|
|
WantedBy = [
|
2022-05-20 12:39:40 +02:00
|
|
|
"hm-graphical-session.target"
|
2022-05-19 07:18:51 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|