1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

8 Commits

Author SHA1 Message Date
Andrew
77823419b5 Temporary changed username. 2018-06-10 00:16:40 +03:00
Hossein Mehrabi
f33b756d02 removed useless condition in Refresh 2018-06-08 10:59:47 +04:30
Patrick José Pereira
5130af7e1c prettyweather: Add view configuration
From `curl wttr.in/:help`:
```
View options:

    ?0                      # only current weather
    ?1                      # current weather + 1 day
    ?2                      # current weather + 2 days
    ?n                      # narrow version (only day and night)
    ?q                      # quiet version (no "Weather report" text)
    ?Q                      # superquiet version (no "Weather report", no city name)
    ?T                      # switch terminal sequences off (no colors)
```

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-04 20:01:59 -03:00
Chris Cummer
218b6937b1 Implement ASCII-only widget titles
Widget titles can now be specified in the config file via a 'title' key.
Example:

  wtf:
    mods:
      todo:
        title: Tada

which can include emoji. No need to force everyone to look at my emoji,
now they can define their own.
2018-06-03 20:54:07 -07:00
Hossein Mehrabi
6443df092f use widget.View.SetText to print 2018-06-03 10:53:26 +04:30
Chris Cummer
c5617e9019 Prevent text-wrapping in PrettyWeather widget 2018-06-02 05:28:52 -07:00
Farhad Farahi
353bd1220d better error handling 2018-06-02 05:28:52 -07:00
Farhad Farahi
21ee436e8c Added PrettyWeather mod 2018-06-02 05:28:52 -07:00