Mark Rice d575711000 Create i3battimer.service | 7 سال پیش | |
---|---|---|
README.md | 12 سال پیش | |
i3battimer.service | 7 سال پیش | |
i3batwarn.sh | 7 سال پیش | |
screenshot.png | 12 سال پیش |
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