Best docs

This commit is contained in:
Andros Fenollosa 2023-05-02 16:09:06 +02:00
parent 9e10e10778
commit 81c4d6c449

View File

@ -107,9 +107,9 @@ Add to document.
## Battery hook ## Battery hook
Folder with scripts to be launched in different battery states. Folder with custom scripts to be launched in different battery states.
The filename of the scripts must be: The filename of the scripts, or your custom scripts, must be:
- `discharging`: When the battery is in use. - `discharging`: When the battery is in use.
- `charging`: When the battery is charging. - `charging`: When the battery is charging.
@ -166,7 +166,7 @@ Create a file in `/etc/systemd/system/bash-folders-battery-hook.service` with th
```ini ```ini
[Unit] [Unit]
Description=Folder with scripts to be launched in different battery states. Description=Folder with custom scripts to be launched in different battery states.
[Service] [Service]
Restart=always Restart=always
@ -186,7 +186,7 @@ Create a file in `/etc/systemd/system/bash-folders-battery-hook.timer` with the
```ini ```ini
[Unit] [Unit]
Description=Folder with scripts to be launched in different battery states every minute. Description=Folder with custom scripts to be launched in different battery states every minute.
[Timer] [Timer]
OnCalendar=*-*-* *:*:00 OnCalendar=*-*-* *:*:00