Mark Rice d575711000 Create i3battimer.service | il y a 7 ans | |
---|---|---|
README.md | il y a 12 ans | |
i3battimer.service | il y a 7 ans | |
i3batwarn.sh | il y a 7 ans | |
screenshot.png | il y a 12 ans |
This is a simple battery warning script. It uses i3's nagbar to display warnings.
Let this script run as a cronjob.
Open your crontab.
$ crontab -e
Add the folowing line to check battery status every minute
*/1 * * * * /PATH/TO/YOUR/SCRIPT/i3batwarn.sh