Use fontconfig to load fonts. Fonts can be added to the `fonts` map in the config, and referenced from individual widgets' configurations for customizability. Fonts default to values "mono" and "sans" if nothing is set.
47 lines
1.0 KiB
TOML
47 lines
1.0 KiB
TOML
[package]
|
|
name = "wldash"
|
|
version = "0.2.0"
|
|
authors = ["Kenny Levinsen <kl@kl.wtf>"]
|
|
edition = "2018"
|
|
|
|
[profile.release]
|
|
lto = "fat"
|
|
panic = "abort"
|
|
opt-level = "z"
|
|
|
|
[features]
|
|
default = ["alsa-widget", "pulseaudio-widget", "yaml-cfg", "json-cfg"]
|
|
damage_debug = []
|
|
|
|
yaml-cfg = ["serde_yaml"]
|
|
json-cfg = ["serde_json"]
|
|
|
|
alsa-widget = ["alsa"]
|
|
pulseaudio-widget = ["libpulse-binding"]
|
|
|
|
[dependencies]
|
|
smithay-client-toolkit = "0.6.4"
|
|
byteorder = "1.3"
|
|
rusttype = "^0.9"
|
|
chrono = "0.4"
|
|
nix = "0.16"
|
|
memmap = "0.7"
|
|
os_pipe = "0.9"
|
|
wayland-client = { version = "0.23", features = ["dlopen"] }
|
|
wayland-protocols = { version = "0.23", features = ["client", "unstable_protocols"] }
|
|
dbus = "0.6"
|
|
fuzzy-matcher = "0.3"
|
|
lazy_static = "1.4"
|
|
rcalc_lib = "0.9"
|
|
rust-ini = "0.14"
|
|
shlex = "0.1"
|
|
timerfd = "1.0.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = { version = "1.0", optional = true }
|
|
serde_yaml = { version = "0.8", optional = true }
|
|
|
|
libpulse-binding = { version = "2.15", optional = true }
|
|
alsa = { version = "0.4.0", optional = true }
|
|
fontconfig = "0.2.0"
|