candybar/README.md

21 lines
465 B
Markdown
Raw Normal View History

2022-04-07 12:15:37 +00:00
# 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
2022-04-07 12:17:48 +00:00
done &
2022-04-07 12:15:37 +00:00
```
### 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)"
```