Files
gobar/README.md

16 lines
721 B
Markdown

# 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"
```