23 lines
972 B
C
23 lines
972 B
C
// Modify this file to change what commands output to your statusbar, and
|
|
// recompile using the make command.
|
|
static const Block blocks[] = {
|
|
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
|
|
|
|
{"🎵: ", "~/bin/getmpris.sh 2>/dev/null", 1, 0},
|
|
{" : ", "checkupdates 2> /dev/null | wc -l", 600, 0},
|
|
{"🔄: ", "yay -Qum --devel 2> /dev/null | wc -l", 600, 0},
|
|
{"🎫: ", "~/bin/gettickets.py 2>/dev/null", 30, 0},
|
|
{"✉: ", "~/bin/imap", 60, 0},
|
|
{"💻: ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0},
|
|
{"💽: ", "df -h | awk '{ if ($6 == \"/\") print $4 }'", 30, 0},
|
|
{"🔈: ", "pulsemixer --get-volume | cut -d ' ' -f 1", 0, 0},
|
|
{"🔋: ", "~/bin/battery", 5, 0},
|
|
//{"CPU: ", "~/bin/cpupct", 1, 0},
|
|
{"🌡: ", "~/bin/cputemp",10, 0},
|
|
{"🕚: ", "~/bin/clock", 1, 0},
|
|
};
|
|
|
|
// sets delimeter between status commands. NULL character ('\0') means no
|
|
// delimeter.
|
|
static char delim = '|';
|