summaryrefslogtreecommitdiff
path: root/dwmblocks/config.h
diff options
context:
space:
mode:
authorSoominIm <111330163+SoominIm@users.noreply.github.com>2024-03-02 14:45:42 -0600
committerSoominIm <111330163+SoominIm@users.noreply.github.com>2024-03-02 14:45:42 -0600
commit5017790af4d8d7d9d7c9b41044a34ed015bc570e (patch)
tree0c8adc7f95a396ac25c0e57b528f8a3f38b9ec16 /dwmblocks/config.h
Initial commit
Diffstat (limited to 'dwmblocks/config.h')
-rwxr-xr-xdwmblocks/config.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/dwmblocks/config.h b/dwmblocks/config.h
new file mode 100755
index 0000000..3e1b2cf
--- /dev/null
+++ b/dwmblocks/config.h
@@ -0,0 +1,40 @@
+// 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-kbselect", 0, 30}, */
+ {"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
+ {"", "sb-tasks", 10, 26},
+ /* {"", "sb-music", 0, 11}, */
+ {"", "sb-pacpackages", 0, 8},
+ {"", "sb-news", 0, 6},
+ /* {"", "sb-price xmr-btc \"Monero to Bitcoin\" 🔒 25", 9000, 25}, */
+ /* {"", "sb-price xmr Monero 🔒 24", 9000, 24}, */
+ /* {"", "sb-price eth Ethereum 🍸 23", 9000, 23}, */
+ /* {"", "sb-price btc Bitcoin 💰 21", 9000, 21}, */
+ {"", "sb-torrent", 20, 7},
+ /* {"", "sb-cpu", 10, 18}, */
+ /* {"", "sb-moonphase", 18000, 17}, */
+ {"", "sb-doppler", 0, 13},
+ {"", "sb-forecast", 18000, 5},
+ {"", "sb-mailbox", 180, 12},
+ {"", "sb-memory", 10, 14},
+ {"", "sb-nettraf", 1, 16},
+ {"", "sb-volume", 0, 10},
+ {"", "sb-battery", 5, 3},
+ {"", "sb-clock", 60, 1},
+ {"", "sb-internet", 5, 4},
+ /* {"", "sb-iplocate", 0, 27}, */
+ {"", "sb-help-icon", 0, 15},
+};
+
+// 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 & }