NetBSD fix stray percent sign in battery output
This commit is contained in:
parent
33c3a21f37
commit
5a87bed817
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1849,7 +1849,7 @@ getbattery () {
|
||||||
|
|
||||||
"NetBSD"*)
|
"NetBSD"*)
|
||||||
battery=$(envstat | awk '\\(|\\)' '/charge:/ {print $2}')
|
battery=$(envstat | awk '\\(|\\)' '/charge:/ {print $2}')
|
||||||
battery="${battery:+/\.*}%"
|
battery="${battery/\.*/%}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue