commit d49139a2032cc322fece280b7cdc64938f8e53ec
parent f123e56892f058174b86d5188999e6d6a09dad50
Author: awy <awy@awy.one>
Date: Wed, 12 Nov 2025 19:16:19 +0300
blocks
Diffstat:
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/blocks.def.h b/blocks.def.h
@@ -1,12 +1,17 @@
//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*/ /*Left Click*/ /*Right Click*/ /*Middle Click*/ /*Scroll Up*/ /*Scroll Down*/
- {"", "date", 1, 0, "foot -e calcurse", "notify-send firstblock", NULL, NULL, NULL},
- {"", "echo something", 20, 0, "foot -e btop", "notify-send secondblock", NULL, NULL, NULL},
+ /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ /*Left Click*/
+ {"", "stmusic", 0, 11, "BLOCK_BUTTON=1 stmusic", "BLOCK_BUTTON=3 stmusic", "BLOCK_BUTTON=2 stmusic", "BLOCK_BUTTON=4 stmusic", "BLOCK_BUTTON=5 stmusic"},
+ {"", "sb-pacpackages", 0, 8, "BLOCK_BUTTON=1 sb-pacpackages", "BLOCK_BUTTON=3 sb-pacpackages", "BLOCK_BUTTON=2 sb-pacpackages", NULL, NULL},
+ {"", "sb-news", 0, 6, "BLOCK_BUTTON=1 sb-news", "BLOCK_BUTTON=3 sb-news", "BLOCK_BUTTON=2 sb-news", NULL, NULL},
+ {"", "sttorrent", 10, 7, "BLOCK_BUTTON=1 sttorrent", "BLOCK_BUTTON=3 sttorrent", "BLOCK_BUTTON=2 sttorrent", NULL, NULL},
+ {"", "stmemory", 5, 14, "BLOCK_BUTTON=1 stmemory", "BLOCK_BUTTON=3 stmemory", "BLOCK_BUTTON=2 stmemory", NULL, NULL},
+ {"", "stmail", 180, 12, "BLOCK_BUTTON=1 stmail", "BLOCK_BUTTON=3 stmail", "BLOCK_BUTTON=2 stmail", NULL, NULL},
+ {"", "stclock", 20, 1, "BLOCK_BUTTON=1 stclock", "BLOCK_BUTTON=3 stclock", "BLOCK_BUTTON=2 stclock", NULL, NULL},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
-static char delim[] = " | ";
+static char delim[] = " ";
static unsigned int delimLen = 5;