commit c2b3b99145a77516a3a95d91968d3334a9c9a89e parent 0eefa95e352d3867cacd864621545bd0c673cda0 Author: Oscar Benedito <oscar@oscarbenedito.com> Date: Sun, 15 May 2022 19:13:12 +0200 Update README Diffstat:
M | README.md | | | 25 | ++++++++++++++++--------- |
1 file changed, 16 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md @@ -1,14 +1,21 @@ -# dwmblocks - +dwmblocks +========= Modular status bar for dwm written in c. -# Usage +Installation +------------ +Edit config.mk to match your local setup (dwmblocks is installed into the +/usr/local namespace by default). + +Afterwards enter the following command to build and install slock +(if necessary as root): + + make clean install -Install dwmblocks by running `sudo make install`. After that you can put -dwmblocks in your xinitrc or other startup script to have it start with dwm. +Running dwm +----------- +Add the following line to your .xinitrc to start dwmblocks using startx: -# Modifying blocks + dwmblocks & -The statusbar is made from text output from command line programs. Blocks are -added and removed by editing the `config.h` header file. If the file `config.h` -does not exist, a new one will be made by copying `config.def.h`. +Or run the 'dwmblocks' command.