intial commit

This commit is contained in:
odweta
2026-05-09 10:26:32 +02:00
commit d051593b64
88 changed files with 34685 additions and 0 deletions
+13
View File
@@ -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;