🔥 Removed batnotify, installed valgrind
This commit is contained in:
parent
f105f01ab2
commit
2ade3aad61
1 changed files with 0 additions and 11 deletions
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
while [ true ] ; do
|
|
||||||
PWRLVL=$(cat /sys/class/power_supply/BAT1/capacity)
|
|
||||||
if [ $PWRLVL -eq 15 ] ; then
|
|
||||||
exec notify-send "Battery is at 15%!!";
|
|
||||||
break;
|
|
||||||
else
|
|
||||||
sleep 15s;
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue