i3 Metamask shortcut
This commit is contained in:
@@ -15,6 +15,8 @@ elif (( $(echo "$price < 1000" | bc -l) )); then
|
||||
printf "%'0.1f\n" "$price" | sed 's/,//'
|
||||
elif (( $(echo "$price < 10000" | bc -l) )); then
|
||||
printf "%'0.0f\n" "$price" | sed 's/,//'
|
||||
elif (( $(echo "$price > 100000" | bc -l) )); then
|
||||
printf "%'0.0f\n" "$price" | sed 's/,//' | cut -c -4
|
||||
else
|
||||
echo "$price" | cut -c -3
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user