commit
ded2973881
3 changed files with 4 additions and 3 deletions
3
.vimrc
3
.vimrc
|
@ -48,7 +48,8 @@ set encoding=UTF-8
|
|||
set visualbell
|
||||
set hlsearch
|
||||
set smartcase
|
||||
set gdefault
|
||||
set gdefault "global bei suche immer mit an"
|
||||
set nowrap "verhindert zeilenumbrüche
|
||||
set ignorecase
|
||||
set incsearch
|
||||
set autoindent
|
||||
|
|
|
@ -3,5 +3,5 @@ curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=p
|
|||
if [ $? -ne 0 ]; then
|
||||
echo "---"
|
||||
else
|
||||
curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=polybar-ae6fe2720f2c30f4" | awk '{$zw=$3 * 0.0555} {printf "%.1f\n",$zw}'
|
||||
curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=polybar-ae6fe2720f2c30f4" | awk '{printf "%.1f\n",$3*0.0555}'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue