Compare commits

...

9 Commits

Author SHA1 Message Date
mrsu 1a65ae7eb0 changed sb-battery-new name 2024-06-16 20:08:26 +01:00
mrsu 08a8159195 moved separators to scripts 2024-06-16 14:56:09 +01:00
mrsu 04a2223f66 Merge branch 'semita' of git.sjplab.com:/sam/dwmblocks into semita 2024-06-13 17:30:08 +01:00
Sam c4e7a9b1eb Remove sb-updates from statusbar, adjust update intervals.
- Removed the sb-updates block from the statusbar.
- Adjusted the update interval for sb-network-status to 60 seconds.
- Kept other blocks (sb-mem-pct and sb-cpu-pct) unchanged.
2024-05-31 18:43:38 +01:00
Sam 101803e3cd merge master 2024-02-08 13:03:17 +00:00
mrsu a9bb058c32 modify update interval 2024-02-08 12:42:23 +00:00
mrsu 92f4c6c878 change updates time 2024-02-07 12:05:53 +00:00
mrsu 0307fbc487 added network monitor 2024-02-07 00:25:14 +00:00
Sam 8fdceef1f3 removed battery 2023-08-31 22:24:57 +01:00
1 changed files with 8 additions and 7 deletions

View File

@ -1,14 +1,15 @@
//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*/
{" [", "sb-updates", 300, 11},
{" [", "sb-battery-new", 1, 0},
{" [ ", "sb-mem-pct", 5, 0},
{" [󰻠 ", "sb-cpu-pct", 5, 0},
{" [" , "sb-volume", 5, 10},
{" ", "date '+%Y-%m-%d %H:%M:%S'", 1, 0},
{"", "sb-network-status", 5, 12},
{"", "sb-updates", 60, 11},
{"", "sb-battery", 1, 0},
{"", "sb-mem-pct", 5, 0},
{"", "sb-cpu-pct", 5, 0},
{"", "sb-volume", 5, 10},
{"", "date '+%Y-%m-%d %H:%M:%S'", 1, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim[] = "] ";
static char delim[] = "";
static unsigned int delimLen = 1;