fix(prog/xmonad/xmobar): diff sign
This commit is contained in:
parent
df15f52456
commit
b9ae47e146
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ cc=($(curl --no-progress-meter "https://www.cbr.ru/scripts/XML_dynamic.asp?date_
|
||||||
sed -e "s#<\/\?\w\+>##g" | \
|
sed -e "s#<\/\?\w\+>##g" | \
|
||||||
sed -e "s/,/./g"))
|
sed -e "s/,/./g"))
|
||||||
|
|
||||||
diff=$(echo ${cc[-2]} ${cc[-1]} | awk '{ print $1 - $2 }')
|
diff=$(echo ${cc[-1]} ${cc[-2]} | awk '{ print $1 - $2 }')
|
||||||
arror="↑"
|
arror="↑"
|
||||||
color='#50fa7b'
|
color='#50fa7b'
|
||||||
if [ ${diff:0:1} == '-' ]; then
|
if [ ${diff:0:1} == '-' ]; then
|
||||||
|
|
Loading…
Reference in a new issue