commit 123e8c7a125ce4492af2e18f40abb89eafbdc633 parent e6f19ed63979844ea259f69b8ab0702586a69d68 Author: Sebastiano Tronto <sebastiano.tronto@gmail.com> Date: Fri, 6 May 2022 11:55:42 +0200 Added % sign to battery Diffstat:
M | status | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/status b/status @@ -15,7 +15,7 @@ date=$(date +"%d %B %Y, %A") bat="/sys/class/power_supply/BAT0" if [ -d $bat ]; then - battery="Battery: $(cat $bat/capacity) $(cat $bat/status)" + battery="Battery: $(cat $bat/capacity)%% $(cat $bat/status)" else battery="No battery" fi