#status-bar #dbus

bin+lib sustas

A tool to generate desktop status lines

1 unstable release

0.1.0 Nov 16, 2022

#722 in Configuration

0BSD license

30KB
771 lines

Sustas

A tool to generate desktop status lines.

Supported formats

  • swaybar

Configuration

The config file lives at $XDG_CONFIG_HOME/sustas/config.toml.

The status line is configured via modules, for example:

format = "swaybar"

[[modules]]
kind = "wifi"
interface = "wlan0"

[[modules]]
kind = "bluetooth"
address = "1A:12:75:7D:E8:5D"

[[modules]]
kind = "bluetooth_device"
address = "1F:BA:15:9A:81:B1"

[[modules]]
kind = "battery"
name = "BAT0"

[[modules]]
kind = "clock"

lib.rs:

Components for building a status bar.

Dependencies

~3–16MB
~207K SLoC