aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-09-21 15:37:13 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-09-21 15:37:13 -0400
commit4f6b1e11f248ed1a5d524b63d7a55c7c7ccb8d32 (patch)
tree89e090d322f9a83494bed96687e8955e1dc56b29
parentc142cf34e9898efa46c4f3233fcfcf740df13b2a (diff)
downloaddwmblocks-4f6b1e11f248ed1a5d524b63d7a55c7c7ccb8d32.tar.gz
dwmblocks-4f6b1e11f248ed1a5d524b63d7a55c7c7ccb8d32.tar.bz2
dwmblocks-4f6b1e11f248ed1a5d524b63d7a55c7c7ccb8d32.zip
dox and stuff rmd
-rw-r--r--README.md3
-rw-r--r--blocks.h14
2 files changed, 3 insertions, 14 deletions
diff --git a/README.md b/README.md
index fe02a0c..0f7d41c 100644
--- a/README.md
+++ b/README.md
@@ -3,3 +3,6 @@ Modular status bar for dwm written in c.
# modifying blocks
The statusbar is made from text output from commandline programs.
Blocks are added and removed by editing the blocks.h header file.
+# signalling changes
+For example, the audio module has the update signal 10 by default.
+Thus, running `pkill -RTMIN+10 dwmblocks` will update it.
diff --git a/blocks.h b/blocks.h
index d04c467..a0c04f7 100644
--- a/blocks.h
+++ b/blocks.h
@@ -10,17 +10,3 @@ static const Block blocks[] = {
//sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim = ' ';
-
- /* {"🔊 ", "x=\"$(amixer get Master)\"; echo \"$x\" | grep -o \"\\[off\\]\" || echo \"$x\" | grep -o [0-9]*%", 0, 10}, */
- /* {"", "sed /📦0/d ~/.pacupdate", 0, 9}, */
-
- /* {"🧠 ", "free -h | awk '/^Mem/ { print $3\"/\"$2 }' | sed s/i//g", 30, 0}, */
-
- /* {"💻 ", "sed 's/000$/°C/' /sys/class/thermal/thermal_zone0/temp", 30, 21}, */
-
- //{"🎼 ", "mpc status | sed \"/^volume:/d;/\\[playing\\]/d;s/^\\[paused\\].*/⏸/\"", 0, 11},
-
- //{"☀ ", "xbacklight | sed 's/\\..*//'", 0, 11},
-
- /* {"🌡 ", "sensors | awk '/^temp1:/{print $2}'", 5, 0}, */
-