dox and stuff rmd

This commit is contained in:
Luke Smith 2019-09-21 15:37:13 -04:00
parent c142cf34e9
commit 4f6b1e11f2
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252
2 changed files with 3 additions and 14 deletions

View file

@ -3,3 +3,6 @@ Modular status bar for dwm written in c.
# modifying blocks # modifying blocks
The statusbar is made from text output from commandline programs. The statusbar is made from text output from commandline programs.
Blocks are added and removed by editing the blocks.h header file. 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.

View file

@ -10,17 +10,3 @@ static const Block blocks[] = {
//sets delimeter between status commands. NULL character ('\0') means no delimeter. //sets delimeter between status commands. NULL character ('\0') means no delimeter.
static char delim = ' '; 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}, */