Remove double percentage sign…
This commit is contained in:
1 parent
f8471d3975
commit
f239dd824f
1 file changed
+1
-1
@@ -19,7 +19,7 @@ battery_info=$(upower --show-info $(upower --enumerate |\
|
|||||||
grep 'BAT') |\
|
grep 'BAT') |\
|
||||||
egrep "state|percentage" |\
|
egrep "state|percentage" |\
|
||||||
awk -v ORS=" " '{print $2}' |\
|
awk -v ORS=" " '{print $2}' |\
|
||||||
awk '{printf "%s%% (%s)", $2, $1}')
|
awk '{printf "%s (%s)", $2, $1}')
|
||||||
|
|
||||||
# "amixer -M" gets the mapped volume for evaluating the percentage which
|
# "amixer -M" gets the mapped volume for evaluating the percentage which
|
||||||
# is more natural to the human ear according to "man amixer".
|
# is more natural to the human ear according to "man amixer".
|
||||||
|
|||||||
Reference in new issue
Block a user