Skip to content

mintycube/dwmblocks

 
 

Repository files navigation

dwmblocks

Lightweight, Clickable, Modular and Async status bar for dwm. Fork of dwmblocks-async

Modifying the blocks

You can define your status bar blocks in config.h:

#define BLOCKS(X) \
    ...
    X(" ", "wpctl get-volume @DEFAULT_AUDIO_SINK@ | cut -d' ' -f2", 0, 5) \
    X("󰥔 ", "date '+%H:%M:%S'", 1, 1) \
    ...

Each block has the following properties:

Property Description
Icon An icon you wish to prepend to your block output.
Command The command you wish to execute in your block.
Update interval Time in seconds, after which you want the block to update. If 0, the block will never be updated.
Update signal Signal to be used for triggering the block. Must be a positive integer. If 0, a signal won't be set up for the block and it will be unclickable.

About

Fork of dwmblocks-async for personal use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.9%
  • Makefile 4.1%