Skip to content

Commit

Permalink
fix show battery percent sign on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Aug 22, 2024
1 parent 40edba4 commit aaabb1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/battery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ battery_percent()
case $(uname -s) in
Linux)
percent=$(linux_acpi percent)
[ -n "$percent" ] && echo " $percent"
[ -n "$percent" ] && echo "$percent%"
;;

Darwin)
Expand Down Expand Up @@ -175,4 +175,3 @@ main()

#run main driver program
main

0 comments on commit aaabb1d

Please sign in to comment.