panel: re-enable weather widget
This commit is contained in:
parent
c38143fa81
commit
453cef8901
@ -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) {
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user