Crates.io | sbar |
lib.rs | sbar |
version | 0.7.8 |
source | src |
created_at | 2022-07-09 14:51:23.78296 |
updated_at | 2022-07-28 13:10:05.787473 |
description | A modular, async bar for dwm |
homepage | https://github.com/sleepntsheep/sbar |
repository | |
max_upload_size | |
id | 622555 |
size | 77,756 |
sbar is modular, asynchronous and configurable bar for dwm written in rust.
By cargo
cargo install sbar
sbar [-c configpath] [-v] [h]
create $HOME/.config/sbar/config.yaml
see default config as example
built-in modules:
property
(prefix and suffix is put before and after every components)
put signal in wanted component's config
- name: echo
params:
- TEST
signal:
44
then to call it, do
kill -44 $(pidof sbar)
replace 44 with your signal