diff options
| -rw-r--r-- | README.md | 9 | ||||
| -rw-r--r-- | code/dwm/config.h | 2 | ||||
| -rw-r--r-- | code/dwmblocks/config.h | 8 |
3 files changed, 16 insertions, 3 deletions
@@ -1,6 +1,13 @@ # dotfiles -My configuration settings and config files for various programs. +Personal configuration files. Currently a mess, because I avoided adding the +leading dot in directory and file names, and decided to organize files per +program. In the future, I want to have the files as-they-are in the home +directory. There'll 2 (or 3) "base" directories: `public`, `sensitive` +(non-secret, but also non-public, e.g., gnupg and sshd configuration files), and +`secret` (in case there are config files that contain secret data (very bad +practice)). When this is implemented, installation is achieved by sym-linking +directories or files. ## Usage 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}, }; |
