From 5566bf764dd45ee4baa898251c96389b5660ee2b Mon Sep 17 00:00:00 2001 From: DustVoice Date: Sat, 9 Jan 2021 22:07:24 +0100 Subject: [PATCH] Correct typo --- .zsh_alias | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh_alias b/.zsh_alias index 7b4c066..0cf6bd9 100644 --- a/.zsh_alias +++ b/.zsh_alias @@ -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'