Skip to content

dwmblocks is a modular statusbar for dwm written in C.

License

Notifications You must be signed in to change notification settings

LordRusk/dwmblocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE

This program is poorly written, there is many errors that you will find that simply cannot be solved without extensive knowledge of C that nobody else is experiencing. This desperately needs a rewrite. PLEASE REWRITE THIS IN C OR GO I'M BEGGING YOU!!

edit: It's been a while since I wrote this comment. Though the project has grown immensly and probably doesn't have the errors and problems it did 2 years ago, the project is still massive for a statusbar. If you want what you were originally looking for with dwmblocks, what I was looking for 2 years ago, I made it. Gocaudices: A fast dwmblocks alternative written in go in less than 100 SLOC, currently at 85 SLOC.

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.

Rusk's bulid

I have dwmblocks read my preexisting scripts here in my dotfiles repo. So if you want my build out of the box, download those and put them in your $PATH.

signalling changes

For example, the audio module has the update signal 10 by default. Thus, running kill -$((34+10)) $(pidof dwmblocks) will update it.

clickable modules

Like i3blocks, this build allows you to build in additional actions into your scripts in response to click events. See the above linked scripts for examples of this using the $BLOCK_BUTTON variable.

For this feature to work, you need the appropriate patch in dwm as well. See here. Credit for those patches goes to Daniel Bylinka (daniel.bylinka@gmail.com).

About

dwmblocks is a modular statusbar for dwm written in C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published