Update README.md
This commit is contained in:
parent
5400dcfc75
commit
b0441e32af
37
README.md
37
README.md
@ -1,15 +1,26 @@
|
|||||||
# dwmblocks
|
# dwmblocks
|
||||||
Modular status bar for dwm written in c.
|
My personal fork of dwmblocks. Original found
|
||||||
# usage
|
[here](https://github.com/torrinfail/dwmblocks).
|
||||||
|
|
||||||
|
Dwmblocks is a modular status bar for dwm written in c.
|
||||||
|
|
||||||
|
## Usage
|
||||||
To use dwmblocks first run 'make' and then install it with 'sudo make install'.
|
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.
|
After that you can put dwmblocks in your xinitrc or other startup script to have
|
||||||
# modifying blocks
|
it start with dwm.
|
||||||
The statusbar is made from text output from commandline programs.
|
|
||||||
Blocks are added and removed by editing the blocks.h header file.
|
The dwmblocks-pulse-listener program is a small daemon that takes the pid of a
|
||||||
By default the blocks.h header file is created the first time you run make which copies the default config from blocks.def.h.
|
dwmblocks instance and notifies it of pulse audio volume changes.
|
||||||
This is so you can edit your status bar commands and they will not get overwritten in a future update.
|
|
||||||
# patches
|
## Modifying Blocks
|
||||||
Here are some patches to dwmblocks that add features that I either don't want to merge in, or that require a dwm patch to work.
|
The status bar is made from text output from command-line programs. Blocks are
|
||||||
I do not maintain these but I will take pull requests to update them.
|
added and removed by editing the blocks.h header file. By default the blocks.h
|
||||||
<br>
|
header file is created the first time you run make which copies the default
|
||||||
<a href=https://gist.github.com/IGeraGera/e4a5583b91b3eec2e81fdceb44dea717>dwmblocks-statuscmd-b6b0be4.diff</a>
|
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.
|
||||||
|
|
||||||
|
## Other Changes
|
||||||
|
Note that the intervals listed in blocks.h are in milliseconds (1/1000 second).
|
||||||
|
Because of this, the SECONDS() macro is provided for readability. I also
|
||||||
|
implemented some changes from Luke Smith's fork found
|
||||||
|
[here](https://github.com/LukeSmithxyz/dwmblocks).
|
||||||
|
Loading…
Reference in New Issue
Block a user