diff --git a/README.md b/README.md index 06349ca..f8bba6f 100644 --- a/README.md +++ b/README.md @@ -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" +```