Several fixes, patched dwmblocks so it shows spaces around the bar

This commit is contained in:
2025-09-30 13:42:23 +02:00
parent a250278454
commit 3f399b5c0e
10 changed files with 90 additions and 22 deletions

14
blocks.h Normal file
View File

@@ -0,0 +1,14 @@
//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*/
{ "", "/opt/dwmblocks_scripts/dwm_ssid withicon", 1, 0 },
{ "NET ", "/opt/dwmblocks_scripts/dwm_ipaddr", 1, 0 },
{ "MEM ", "/opt/dwmblocks_scripts/dwm_memory", 10, 0 },
{ "", "/opt/dwmblocks_scripts/dwm_volume withicon", 1, 10 },
{ "", "/opt/dwmblocks_scripts/dwm_battery withicon", 1, 10 },
{ "", "/opt/dwmblocks_scripts/dwm_date", 1, 0 },
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = " | ";
static unsigned int delimLen = 5;