panel: re-enable weather widget

This commit is contained in:
K. Lange 2021-06-15 17:17:03 +09:00
parent c38143fa81
commit 453cef8901
2 changed files with 1 additions and 4 deletions

View File

@ -1511,8 +1511,7 @@ int main (int argc, char ** argv) {
load_sprite(sprite_net_disabled, "/usr/share/icons/24/net-disconnected.png");
}
/* TODO Probably should use the app launch shortcut */
system("sh -c \"sleep 4; weather-tool\" &");
weather_refresh(NULL);
/* Draw the background */
for (int i = 0; i < width; i += sprite_panel->width) {

View File

@ -11,8 +11,6 @@
typedef struct JSON_Value Value;
int main(int argc, char * argv[]) {
return 1;
Value * config = json_parse_file("/etc/weather.json");
if (!config) {
fprintf(stderr, "No weather config data\n");