Update README.md

Added a bit more documentation to readme.
This commit is contained in:
torrinfail 2020-08-11 20:00:54 -07:00 committed by GitHub
parent 7e0bc3f580
commit 1b2e50c6c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# dwmblocks # dwmblocks
Modular status bar for dwm written in c. Modular status bar for dwm written in c.
# usage
To use dwmblocks first run 'make' and then install it with 'sudo make install'.
After that you can put dwmblocks in your xinitrc or other startup script to have it start with dwm.
# 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.
By default the blocks.h header file is created the first time you run make which copies the default config from blocks.def.h.
This is so you can edit your status bar commands and they will not get overwritten in a future update.