summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2024-01-04 10:03:16 -0500
committerMitsuo Tokumori <[email protected]>2024-01-04 10:03:16 -0500
commit1ae44540303e9e629139152a2282b0b461e9f69e (patch)
treee9cb9d7c435c87b15e7bf4e5a520ee477303b7f5
parent3297062e43368094a1f2146504b25d6ef97abfc0 (diff)
downloaddotfiles-1ae44540303e9e629139152a2282b0b461e9f69e.tar.gz
dotfiles-1ae44540303e9e629139152a2282b0b461e9f69e.tar.bz2
dotfiles-1ae44540303e9e629139152a2282b0b461e9f69e.zip
Add month and day of month to status bar
-rw-r--r--code/dwmblocks/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/dwmblocks/config.h b/code/dwmblocks/config.h
index baad3c0..cace621 100644
--- a/code/dwmblocks/config.h
+++ b/code/dwmblocks/config.h
@@ -11,8 +11,8 @@ static const Block blocks[] = {
{"", "sb-audio", 0, 10},
{"", "sb-battery", 5, 0},
{"🧠", "sensors | grep 'Tctl' | awk '{print $2}'", 5, 0},
- {"🐏", "free | awk '/^Mem/ { printf \"%.0f%\", $3/$2*100 }'", 5, 0},
- {"", "date '+Q%qW%V%a %H:%M'", 10, 0},
+ {"🐏", "free | awk '/^Mem/ { printf \"%.0f%\", $3/$2*100 }'", 5, 0},
+ {"", "date '+Q%qW%V%a %m月%d日 %H:%M'", 12, 0},
};
//sets delimeter between status commands. NULL character ('\0') means no delimeter.