From c3ae01fd8e970f70f7c28e9adb8553492d1b3f49 Mon Sep 17 00:00:00 2001 From: Jonathan DeMasi Date: Fri, 27 Feb 2026 22:53:37 -0700 Subject: [PATCH] update readme with usage info --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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" +```