mirror of
https://github.com/tanrax/bash-folders.git
synced 2024-12-22 18:25:35 +01:00
Best docs
This commit is contained in:
parent
9e10e10778
commit
81c4d6c449
@ -107,9 +107,9 @@ Add to document.
|
||||
|
||||
## 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.
|
||||
- `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
|
||||
[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]
|
||||
Restart=always
|
||||
@ -186,7 +186,7 @@ Create a file in `/etc/systemd/system/bash-folders-battery-hook.timer` with the
|
||||
|
||||
```ini
|
||||
[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]
|
||||
OnCalendar=*-*-* *:*:00
|
||||
|
Loading…
Reference in New Issue
Block a user