Elis Hirwing
|
18c30f60fd
|
Move code around, add deps as submodules and add Makefile for easy building
|
2017-11-04 22:41:54 +01:00 |
Elis Hirwing
|
23d000aac0
|
Get weather in a goroutine as well
|
2017-11-04 22:16:08 +01:00 |
Elis Hirwing
|
1e50b13b76
|
Fetch SL data in a goroutine, but also make sure to not spam them
while the goroutine is running
|
2017-11-04 22:14:40 +01:00 |
Elis Hirwing
|
87e6ba7adf
|
Split out data fetching to function
|
2017-11-04 22:11:57 +01:00 |
Elis Hirwing
|
4e925bdb31
|
Hide the cursor and render more often
|
2017-11-04 22:09:53 +01:00 |
Elis Hirwing
|
8f06b860fa
|
Do not crash if weather output is too short
|
2017-11-04 22:04:13 +01:00 |
Elis Hirwing
|
a726e83ca6
|
Print all modules data in a loop to the terminal
|
2017-11-04 22:02:12 +01:00 |
Elis Hirwing
|
0183d7e07c
|
Print all the modules
|
2017-11-04 14:36:01 +01:00 |
Elis Hirwing
|
65640246f3
|
Filter out advertisement
|
2017-11-04 14:31:44 +01:00 |
Elis Hirwing
|
99686a12d2
|
Add weather module
|
2017-11-04 14:27:03 +01:00 |
Elis Hirwing
|
325eacbfdb
|
Add clock module
|
2017-11-04 12:22:32 +01:00 |
Elis Hirwing
|
0d3cbdac24
|
Only ignore compiled binary
|
2017-11-04 12:11:44 +01:00 |
Elis Hirwing
|
7b274c7e3a
|
Split on newline before returning
|
2017-11-04 12:10:31 +01:00 |
Elis Hirwing
|
e51097ba3a
|
Add sample config
|
2017-11-04 11:28:08 +01:00 |
Elis Hirwing
|
e73fe6ea40
|
Move calculation of when refresh is to setting the value
|
2017-11-04 11:10:51 +01:00 |
Elis Hirwing
|
0dcb10805a
|
Only show times that are in the future
|
2017-11-04 11:05:47 +01:00 |
Elis Hirwing
|
02ac39af65
|
Allow the time formatting function return errors
|
2017-11-04 11:04:46 +01:00 |
Elis Hirwing
|
79a1693942
|
Check if it's time for refresh before refreshing
|
2017-11-04 10:52:18 +01:00 |
Elis Hirwing
|
2e8dd49a56
|
Store when last successful refresh happened
|
2017-11-04 10:51:31 +01:00 |
Elis Hirwing
|
fb3a958aa3
|
Store latest successfully fetched data in struct
|
2017-11-04 10:51:29 +01:00 |
Elis Hirwing
|
2864ac8788
|
Move error handling
|
2017-11-04 10:31:21 +01:00 |
Elis Hirwing
|
358dac794e
|
Move parsedResponse struct definition up
|
2017-11-04 10:28:09 +01:00 |
Elis Hirwing
|
af5786b04b
|
Start with some stuff
|
2017-10-15 12:08:31 +02:00 |