create a readme

This commit is contained in:
Emily Daemon 2022-04-07 15:15:37 +03:00 committed by GitHub
parent 5da9ed8346
commit 4d1dde9004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
README.md Normal file
View File

@ -0,0 +1,20 @@
# 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)"
```