chmod 755 $(DESTDIR)$(PREFIX)/bin/sb-nettraf
chmod 755 $(DESTDIR)$(PREFIX)/bin/sb-volume
uninstall:
- rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-battery
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-clock
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-cpu
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-internet
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-memory
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-nettraf
- rm -f $(DESTDIR)$(PREFIX)/bin/sb-volume
+ rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks\
+ $(DESTDIR)$(PREFIX)/bin/sb-*
.PHONY: clean install uninstall
+++ /dev/null
-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 config.h file.
-
-Requires dwm [patch](https://dwm.suckless.org/patches/statuscmd/) from Daniel
-Bylinka (daniel.bylinka@gmail.com).
--- /dev/null
+Modular status bar for dwm written in c.
+
+install with 'sudo make install'
+
+Modifying blocks:
+
+The statusbar is made from text output from commandline programs with wrapper
+scripts. Blocks are added and removed by editing the config.h file and the
+scripts are stored in a directory alongside the source. Remeber to update the
+Makefile to install the scripts!
+
+Requires a patch from Daniel Bylinka (daniel.bylinka@gmail.com).
+https://dwm.suckless.org/patches/statuscmd/
{"", "sb-volume", 0, 10},
{"", "sb-nettraf", 1, 16},
{"", "sb-internet", 5, 4},
+ /*uncomment for laptops:*/
/* {"", "sb-battery", 5, 3}, */
{"", "sb-clock", 60, 1},
};