mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
battery-notify: parameterize battery device pseudo file
This commit is contained in:
parent
2a76d6da32
commit
36c5f76c66
2 changed files with 12 additions and 7 deletions
|
|
@ -54,7 +54,8 @@ in
|
|||
|
||||
services.battery-notify = {
|
||||
enable = true;
|
||||
device = "BAT1";
|
||||
device_full = "/sys/class/power_supply/BAT1/energy_full";
|
||||
device_now = "/sys/class/power_supply/BAT1/energy_now";
|
||||
};
|
||||
|
||||
xdg.mimeApps = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue