update readme with usage info

This commit is contained in:
2026-02-27 22:53:37 -07:00
parent 993a924bfd
commit c3ae01fd8e

View File

@@ -1,2 +1,15 @@
# gobar
A shitty program to update dwlb and other dwm/dwl status bars by writing to a file or stdout. While not as extensible as something like someblocks, this program aims to be easy to run as a userspace daemon. It's extremely lightweight and extensible.
## Usage
You could create a systemd unit file for this, but I'm already doing something janky for my dwl startup script, so why not tack on more jank?
```bash
# Start our applications
swaybg --output '*' --mode fill --image /home/jonathan/Downloads/wallpaper.jpg &
mako &
foot --server &
swayidle -w timeout 300 'swaylock -f -c 000000' before-sleep 'swaylock -f -c 000000' &
gobar | dwlb -status-stdin all &
dwlb -font "JetBrainsMonoNerdFont:size=10"
```