summaryrefslogtreecommitdiff
path: root/dwmblocks/config.h
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-06-04 21:07:28 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-06-04 21:07:28 +0900
commit7f8828a8a6aa189014571e66d012c9962777c719 (patch)
tree4872aea6038451c3d2ed79926b6b663c426347c8 /dwmblocks/config.h
parent898331c11aa83917359c5cb2652b65b73bafa220 (diff)
Updates
Diffstat (limited to 'dwmblocks/config.h')
-rw-r--r--dwmblocks/config.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/dwmblocks/config.h b/dwmblocks/config.h
index 3db5249..2805cae 100644
--- a/dwmblocks/config.h
+++ b/dwmblocks/config.h
@@ -1,7 +1,8 @@
+// Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "sb-music", 1, 11},
- // {"⌨", "sb-kbselect", 0, 30},
+ /* {"⌨", "sb-kbselect", 0, 30}, */
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
{"", "sb-tasks", 10, 26},
{"", "sb-torrent", 20, 7},
@@ -30,6 +31,10 @@ static const Block blocks[] = {
{"", "sb-help-icon", 0, 15},
};
-// Sets delimiter between status commands. NULL character ('\0') means no
-// delimiter.
+// Sets delimiter between status commands. NULL character ('\0') means no delimiter.
static char *delim = " ";
+
+// Have dwmblocks automatically recompile and run when you edit this file in
+// vim with the following line in your vimrc/init.vim:
+
+// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }