21 lines
465 B
Markdown
21 lines
465 B
Markdown
# candybar
|
|
a stupidly simple modular statusbar
|
|
|
|
## usage
|
|
**candybar** only outputs the text that should be shown on the bar, which makes it useable on different applications.
|
|
### usage with dwm
|
|
add the following to your ~/.xinitrc:
|
|
```sh
|
|
while true; do
|
|
xsetroot -name "$(candybar)"
|
|
sleep 2
|
|
done &
|
|
```
|
|
### usage with tmux
|
|
add the following to your ~/.tmux.conf:
|
|
```tmux
|
|
set -g status-interval 2
|
|
set -g status-right-length 100
|
|
set -g status-right "#(candybar)"
|
|
```
|