sbar is modular, asynchronous and configurable bar for dwm written in rust.
note: sbar is still in early development
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 - params is list of string - interval is how often to update each component, in second not putting in interval use default which is never update - fg and bg: colors for that component, in this format: "#FFFFFF" requires status2d patch, and status2d_color: true in config - prefix and suffix: if exists will overwrite global prefix and suffix
(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