1
0
mirror of https://github.com/tiyn/dwmblocks.git synced 2025-10-14 11:51:23 +02:00

Compare commits

...

4 Commits

Author SHA1 Message Date
2db2956e42 added player 2024-03-09 02:52:53 +01:00
6408f5ad98 added gpu script 2023-10-22 23:29:52 +02:00
d2b75f9148 made cpu script automatically detect vendor 2023-10-22 23:16:14 +02:00
d4fc8eccf5 changed timers 2023-10-22 00:37:40 +02:00
2 changed files with 7 additions and 5 deletions

View File

@@ -4,12 +4,14 @@
#include "util.h"
Block blocks[] = {
{"memory", 10, 6},
{"cpu amd", 10, 5},
{"player", 5, 9},
{"memory", 30, 6},
{"cpu", 30, 5},
{"gpu", 30, 8},
{"disk /home", 1800, 7},
{"volume", 120, 4},
{"battery BAT0", 5, 2},
{"internet", 5, 3},
{"battery BAT0", 120, 2},
{"internet", 30, 3},
{"clock", 60, 1},
};

View File

@@ -1,6 +1,6 @@
#pragma once
#define CLICKABLE_BLOCKS 0 // Enable clickability for blocks
#define CMDLENGTH 45 // Trim block output to this length
#define CMDLENGTH 130 // Trim block output to this length
#define DELIMITER " " // Delimiter string used to separate blocks
#define LEADING_DELIMITER 0 // Whether a leading separator should be used