Weather in your terminal, with ANSI colors and Unicode symbols
11–20 of 52 posts
Re: Weather in your terminal, with ANSI colors and Unicode symbols
#12Re: Weather in your terminal, with ANSI colors and Unicode symbols
#13./ansiweather: line 76: jq: command not found If you run into that on ubuntu, there does not appear to be an ubuntu package for jq. Binaries and source are available at http://stedolan.github.io/jq/download/
Re: Weather in your terminal, with ANSI colors and Unicode symbols
#14https://github.com/fcambus/ansiweather/issues/3
Thanks for this, I had written a script to pull the weather from another site and placed it in my conky. It works but is quite ugly.
Re: Weather in your terminal, with ANSI colors and Unicode symbols
#15I've been using these for the last couple of years.
[1] https://github.com/Lokaltog/powerline
[2] https://github.com/erikw/tmux-powerline
[3] https://github.com/bling/vim-airline
EDIT: typo, spacing and autocorrect :/
Re: Weather in your terminal, with ANSI colors and Unicode symbols
#16 % cat ~/.ansiweatherrc
location:Pittsburgh,Pa
units:metric
jim@lilly /home/jim/projects/external/ansiweather (master)[0] {+00% 58C} Mon 2013-10-21 15:39:50 0
% ./ansiweather
Current weather in Pittsburgh => 17.68 °C ☀ - Humidity => 33 % - Pressure => 1014 hPa
jim@lilly /home/jim/projects/external/ansiweather (master)[0] {+00% 59C} Mon 2013-10-21 15:39:52 0
% cat ~/.ansiweatherrc
location:Pittsburgh,Pa
units:imperial
jim@lilly /home/jim/projects/external/ansiweather (master)[0] {+00% 58C} Mon 2013-10-21 15:40:00 0
% ./ansiweather
Current weather in Pittsburgh => 61.89 °F ☀ - Humidity => 47 % - Pressure => 985.97 hPa
Interesting that the humidity and pressure are different when using different units (err, the humity and pressure are in the same units regardless of the units setting, but the values are different).Re: Weather in your terminal, with ANSI colors and Unicode symbols
#17I am thinking more and more about moving back to a text-only interface - previously I was very happy with mutt, tin, lynx (and links and w3m), centericq, etc, but only bash and vim stuck with me. Yet with the advent of unicode, there are fewer needs for a graphical interface - stay for a weather app. A clutter-free desktop consisting of mostly bash, along with gnu screen (or the likes) and ssh (or the likes) to remot…
Of course the line between graphical and text-only is blurry. I'd argue that even small inline graphics are still graphics and thus not text-only, no matter how they are technically implemented (unicode or some "real" graphics).
Personally I don't think we have to resort for using the unholy mixture of 70s and todays tech that console apps represent to get clutter-free desktop experience. More importantly I think we could get even more clean interfaces using full graphical capabilities if we'd get a good design ideology/guidelines to build upon. Just because mainstream GUI apps are stuck on WIMP idea doesn't mean that it would be the only way to approach GUI.
Re: Weather in your terminal, with ANSI colors and Unicode symbols
#18How often does it make a http request? Every time PS1 is printed?
Re: Weather in your terminal, with ANSI colors and Unicode symbols
#19./ansiweather: line 76: jq: command not found If you run into that on ubuntu, there does not appear to be an ubuntu package for jq. Binaries and source are available at http://stedolan.github.io/jq/download/