1
0
mirror of https://github.com/tiyn/dwmblocks.git synced 2025-11-09 15:41:17 +01:00

Compare commits

..

3 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
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -1,6 +1,6 @@
#pragma once #pragma once
#define CLICKABLE_BLOCKS 0 // Enable clickability for blocks #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 DELIMITER " " // Delimiter string used to separate blocks
#define LEADING_DELIMITER 0 // Whether a leading separator should be used #define LEADING_DELIMITER 0 // Whether a leading separator should be used