Correct typo

This commit is contained in:
David Holland 2021-01-09 22:07:24 +01:00
parent 6aa4580a5a
commit 5566bf764d
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9

View file

@ -114,7 +114,7 @@ function check-iommu-func() {
alias check-iommu='check-iommu-func'
function battery-monitor-func() {
watch -t -n 60 '( if [ $(cat /sys/class/power_supply/ACAD/online) == "1" ]; then printf "Power connected\n"; else print "Power disconnected\n"; fi; printf "\nBattery capacity: "; cat /sys/class/power_supply/BAT1/capacity; printf "\n(Updated every 60s)"; )';
watch -t -n 60 '( if [ $(cat /sys/class/power_supply/ACAD/online) == "1" ]; then printf "Power connected\n"; else printf "Power disconnected\n"; fi; printf "\nBattery capacity: "; cat /sys/class/power_supply/BAT1/capacity; printf "\n(Updated every 60s)"; )';
}
alias battery-monitor='battery-monitor-func'