Skip to content

Modular status bar for dwm written in c.

License

Notifications You must be signed in to change notification settings

menganha/dwmblocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwmblocks (Menganha's Fork)

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

The statusbar is made from text output from commandline programs. 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.

added features on this fork

* The code has been cleaned and reformatted. 
* Removed the symbol variable from the block definition. The symbol goes into the script or command directly. Reduces the need of maintaining two different files for specifying a single block.
* `border` string added in the config.h to specify the characters to append at the beggining and end of the status bar

patches

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. I do not maintain these but I will take pull requests to update them.
dwmblocks-statuscmd-b6b0be4.diff

About

Modular status bar for dwm written in c.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 84.4%
  • Makefile 15.6%