summaryrefslogtreecommitdiffstats
path: root/code/dwmblocks/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/dwmblocks/config.h')
-rw-r--r--code/dwmblocks/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/code/dwmblocks/config.h b/code/dwmblocks/config.h
index cace621..6587a09 100644
--- a/code/dwmblocks/config.h
+++ b/code/dwmblocks/config.h
@@ -1,4 +1,9 @@
-//Modify this file to change what commands output to your statusbar, and recompile using the make command.
+// Modify this file to change what commands output to your statusbar, and
+// recompile using the make command. Kill the previous dwmblocks if any, run
+// `dwmblocks &` again.
+
+// DWM's status bar can also be changed with (xprop -root -set WM_NAME "hi")
+// https://dwm.suckless.org/status_monitor/
// Other people's configs:
// https://github.com/LukeSmithxyz/dwmblocks/blob/master/config.h
@@ -12,6 +17,7 @@ static const Block blocks[] = {
{"", "sb-battery", 5, 0},
{"🧠", "sensors | grep 'Tctl' | awk '{print $2}'", 5, 0},
{"🐏", "free | awk '/^Mem/ { printf \"%.0f%\", $3/$2*100 }'", 5, 0},
+ {"", "sb-network", 30, 30},
{"", "date '+Q%qW%V%a %m月%d日 %H:%M'", 12, 0},
};