From d1d8e9db7409ce5ac11c9845af16f45e8894f79c Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Tue, 24 Mar 2020 11:23:44 -0500 Subject: [PATCH] Modifying README. --- dwmblocks/README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dwmblocks/README.md b/dwmblocks/README.md index fe02a0c..b3ea922 100644 --- a/dwmblocks/README.md +++ b/dwmblocks/README.md @@ -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}}" \ No newline at end of file