-/* Conky, a system monitor, based on torsmo
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ *
+ * Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
#ifdef EVE
OBJ_eve,
#endif /* EVE */
+#ifdef HAVE_CURL
+ OBJ_curl,
+#endif /* HAVE_CURL */
#ifdef RSS
OBJ_rss,
#endif /* RSS */
#ifdef WEATHER
OBJ_weather,
#endif /* WEATHER */
+#ifdef XOAP
+ OBJ_weather_forecast,
+#endif /* XOAP */
#ifdef HAVE_LUA
OBJ_lua,
OBJ_lua_parse,
#ifdef HDDTEMP
OBJ_hddtemp,
#endif /* HDDTEMP */
+ OBJ_include,
OBJ_blink,
OBJ_to_bytes,
OBJ_scroll,
struct {
int wantedlines;
- int readlines;
char *logfile;
- double last_update;
- float interval;
char *buffer;
- /* If not -1, a file descriptor to read from when
- * logfile is a FIFO. */
- int fd;
- } tail;
+ int current_use;
+ int max_uses;
+ } headtail;
struct {
double last_update;
char *userid;
} eve;
#endif
+#ifdef HAVE_CURL
+ struct {
+ char *uri;
+ float interval;
+ } curl;
+#endif
#ifdef RSS
struct {
char *uri;
char *action;
int act_par;
- int delay;
+ float interval;
unsigned int nrspaces;
- timed_thread *p_timed_thread;
} rss;
#endif
#ifdef WEATHER
struct {
char *uri;
- char *data_type;
- int interval;
- timed_thread *p_timed_thread;
+ char *data_type;
+ int interval;
} weather;
#endif
+#ifdef XOAP
+ struct {
+ char *uri;
+ unsigned int day;
+ char *data_type;
+ int interval;
+ } weather_forecast;
+#endif
struct {
char *text;
unsigned int show;
unsigned int step;
unsigned int start;
+ long resetcolor;
} scroll;
struct {