update readme with usage info
This commit is contained in:
13
README.md
13
README.md
@@ -1,2 +1,15 @@
|
|||||||
# gobar
|
# 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.
|
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"
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user