diff --git a/programs/xmonad/xmobar/scripts/cbr.sh b/programs/xmonad/xmobar/scripts/cbr.sh index bc7d02c..18f4f68 100755 --- a/programs/xmonad/xmobar/scripts/cbr.sh +++ b/programs/xmonad/xmobar/scripts/cbr.sh @@ -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/,/./g")) -diff=$(echo ${cc[-2]} ${cc[-1]} | awk '{ print $1 - $2 }') +diff=$(echo ${cc[-1]} ${cc[-2]} | awk '{ print $1 - $2 }') arror="↑" color='#50fa7b' if [ ${diff:0:1} == '-' ]; then