2020-04-25 19:11:39 +02:00
|
|
|
//Modify this file to change what commands output to your statusbar, and recompile using the make command.
|
2020-08-23 22:02:24 +02:00
|
|
|
//IMPORTANT: If a command is optionally empty, it should output \n in that case.
|
|
|
|
//Otherwise the last nonzero value will be used instead. This is intended behaviour as it prevents flickering
|
2020-04-25 19:11:39 +02:00
|
|
|
static const Block blocks[] = {
|
2020-11-07 23:44:51 +01:00
|
|
|
/*Command*/ /*Update Interval*/ /*Update Signal*/
|
|
|
|
{"music", 60, 11},
|
2020-12-19 11:52:01 +01:00
|
|
|
{"cat /tmp/mucc_time 2> /dev/null || echo ''", 100, 3 },
|
|
|
|
{"appointments", 10, 8},
|
2020-11-07 23:44:51 +01:00
|
|
|
{"dunststatus", 10, 5 },
|
|
|
|
{"getpomminutesft", 100, 3 },
|
|
|
|
{"getpomminutes", 100, 3 },
|
|
|
|
/* {"weather", 3600, 5 },*/
|
2020-12-19 11:52:01 +01:00
|
|
|
{"pacpackages", 0, 6 },
|
|
|
|
{"memory", 2, 0 },
|
2020-11-07 23:44:51 +01:00
|
|
|
{"cpu", 2, 0 },
|
|
|
|
{"nettraf", 5, 0 },
|
|
|
|
{"torrent", 6, 0 },
|
|
|
|
{"getmail", 20, 13},
|
|
|
|
{"news", 600, 13},
|
|
|
|
/* {"getbright", 4, 2 },*/
|
|
|
|
{"headset_connected", 5, 4 },
|
|
|
|
{"volume", 1, 10},
|
|
|
|
{"current_day", 100, 0 },
|
|
|
|
{"clock", 4, 0 },
|
|
|
|
{"vpnstatus", 5, 9 },
|
|
|
|
{"internet", 10, 0 },
|
|
|
|
{"battery", 4, 7 },
|
2020-04-25 19:11:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
|
2020-08-23 17:03:09 +02:00
|
|
|
static char delim = ' ';
|