Modifying README.

This commit is contained in:
Derek Taylor 2020-03-24 11:23:44 -05:00
parent 3a560393d5
commit d1d8e9db74
1 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,12 @@
# dwmblocks
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 blocks.h header file.
# Modifying dwmblocks
The statusbar is made from text output from scripts found in my [.local/bin](https://gitlab.com/dwt1/dotfiles/-/tree/master/.local/bin). Blocks are added and removed by editing the blocks.h header file.
# To get my dwmblocks to work for you...
You will, of course, need my dwmblocks build and my scripts in [.local/bin](https://gitlab.com/dwt1/dotfiles/-/tree/master/.local/bin). Make sure that .local/bin is in your $PATH otherwise you can't call those scripts by name which is what I'm doing in blocks.h. Instead, you'd have to write out the full path to each script in the blocks.h.
To add .local/bin to $PATH, just add this line to your .bashrc:
PATH="$HOME/.local/bin${PATH:+:${PATH}}"