Commit 70dfa512 authored by HexDSL's avatar HexDSL

viminit

parent 6e10991d
stow_home/dmenu-frecency/.config/dmenu-frecency/state/*
stow_home/mpv/.config/mpv/watch_later/*
stow_home/mpv/.config/mpv/database/*
stow_home/qutebrowser/.config/qutebrowser/bookmarks/*
stow_home/qutebrowser/.config/qutebrowser/quickmarks/*
stow_home/dmenu_frecency/.config/state/*
......
......@@ -2,6 +2,8 @@
# to get location use
# curl -s "http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/sitelist?res=hourly&key=ae11db48-43bd-4d62-b58e-759a09115d6d" | jq
# hourly
# curl -s "http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/sitelist?res=hourly&key=ae11db48-43bd-4d62-b58e-759a09115d6d" | jq | vim
curl -s "http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/3535?res=hourly&key=ae11db48-43bd-4d62-b58e-759a09115d6d" | jq '.[] | {temp: .DV.Location.Period[-1].Rep[-1].T}' | sed '2q;d' | cut -d ' ' -f 4 | sed 's/\"//g' | sed 's/$/°C/g'
exit
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment