intial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//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*/
|
||||
{"", "mpc status | head -1", 0, 1},
|
||||
{"net:", "nmcli n c", 10, 0},
|
||||
{"b:", "cat /sys/class/power_supply/BAT0/capacity", 60, 0},
|
||||
{"v:", "wpctl get-volume @DEFAULT_SINK@ | awk -F \": \" '{print $2}'", 0, 2},
|
||||
{"", "date +'%a %b %d, %H:%M'", 60, 0},
|
||||
};
|
||||
|
||||
//sets delimiter between status commands. NULL character ('\0') means no delimiter.
|
||||
static char delim[] = " | ";
|
||||
static unsigned int delimLen = 5;
|
||||
Reference in New Issue
Block a user