Fork of dwmblocks-async for personal use
Go to file
2024-07-22 14:31:01 +05:00
.github Create FUNDING.yml 2021-10-16 10:35:18 +05:30
include feat: Add support for block-specific icons 2024-04-20 08:49:01 +05:30
src feat: Add support for block-specific icons 2024-04-20 08:49:01 +05:30
.clang-format Rewrite the entire code-base 2023-10-25 17:37:23 +05:30
.clang-tidy refactor: Add clang-tidy checks and simplify codebase 2023-11-16 11:01:07 +05:30
.clangd Rewrite the entire code-base 2023-10-25 17:37:23 +05:30
.gitattributes Add gitattributes 2024-07-22 14:31:01 +05:00
.gitignore Rewrite the entire code-base 2023-10-25 17:37:23 +05:30
config.h Add my config 2024-06-25 16:45:53 +05:00
LICENSE Initial commit. 2021-03-20 15:22:45 +05:30
Makefile build: Add DEBUG option 2024-03-19 06:52:21 +05:30
README.md Add my config 2024-06-25 16:45:53 +05:00

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.