From: Tucker Johnson Date: Fri, 7 Feb 2025 12:20:01 +0000 (-0500) Subject: for-website X-Git-Url: https://git.newer.systems/?a=commitdiff_plain;h=2773ad3c1c91f14e3cbaf3fd5dc1d9054758a371;p=dwmblocks.git for-website --- diff --git a/Makefile b/Makefile index 397696d..32c9294 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,7 @@ install: dwmblocks 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 diff --git a/README.md b/README.md deleted file mode 100644 index 474c690..0000000 --- a/README.md +++ /dev/null @@ -1,9 +0,0 @@ -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). diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..b0e04c6 --- /dev/null +++ b/README.txt @@ -0,0 +1,13 @@ +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/ diff --git a/config.h b/config.h index 26e9506..859d9a2 100644 --- a/config.h +++ b/config.h @@ -7,6 +7,7 @@ static const Block blocks[] = { {"", "sb-volume", 0, 10}, {"", "sb-nettraf", 1, 16}, {"", "sb-internet", 5, 4}, + /*uncomment for laptops:*/ /* {"", "sb-battery", 5, 3}, */ {"", "sb-clock", 60, 1}, };