diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/dwm/config.h | 2 | ||||
| -rw-r--r-- | code/dwmblocks/config.h | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/code/dwm/config.h b/code/dwm/config.h index d12931a..895fced 100644 --- a/code/dwm/config.h +++ b/code/dwm/config.h @@ -23,7 +23,7 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +static const char *tags[] = { "一", "二", "三", "四", "五", "六", "七", "八", "九" }; static const Rule rules[] = { /* xprop(1): 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}, }; |
