This commit is contained in:
Alexander Bocken 2020-11-07 23:44:51 +01:00
parent 113fd0e28f
commit 7bfcefdcd2
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -2,25 +2,27 @@
//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
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"music", 10, 11},
/*Command*/ /*Update Interval*/ /*Update Signal*/
{"music", 60, 11},
{"cat /tmp/mucc_time 2> /dev/null", 100, 3 },
{"dunststatus", 10, 5 },
{"getpomminutesft", 100, 3 },
{"getpomminutes", 100, 3 },
/* {"weather", 3600, 5 },*/
{"pacpackages", 100, 0},
{"pacpackages", 1000, 6 },
{"cpu", 2, 0 },
{"nettraf", 5, 0 },
{"torrent", 6, 0 },
{"getmail", 20, 13},
{"news", 600, 13},
{"getbright", 4, 2},
/* {"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 },
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.