Files
wldash/Cargo.toml
T
Bendik Aagaard LynghaugandClaude Fable 5.1 4f055935d4
Release / package (x86_64, /var/local/cargo-target/iris-cargo-home, bare, /usr/bin/sccache, /var/local/rustup, /var/local/cargo-target) (push) Successful in 43s
Release / package (aarch64, , aarch64, , , ) (push) Successful in 2m20s
backlight: run without a backlight device instead of panicking (0.4.3)
A config carrying a !backlight widget on a machine with nothing under
/sys/class/backlight (a laptop config on a desktop) hit
expect("did not find backlight device") in Backlight::new, which with
panic = "abort" killed wldash before a window appeared.

The device path is now Option<PathBuf>. A missing device, or a
configured `device` name that does not exist, prints one line on stderr
and leaves the widget in place so layout indices stay aligned: it
renders empty, skips sysfs reads and writes, and ignores clicks.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-05 13:54:13 +02:00

42 lines
898 B
TOML

[package]
name = "wldash"
version = "0.4.3"
edition = "2024"
[profile.release]
#debug = true
lto = "fat"
panic = "abort"
[features]
default = ["fontconfig"]
[dependencies]
wayland-client = { version = "0.30", features = ["calloop", "log"] }
wayland-protocols = { version = "0.30", features = ["client", "unstable", "staging"] }
wayland-protocols-wlr = { version = "0.1", features = ["client"] }
nix = "0.26" # 0.27 is breaking
memmap2 = "0.9"
fontconfig = { version = "0.8.0", optional = true }
rusttype = "0.9"
# fontdue = "0.7"
calloop = { version = "0.10" } # update breaks
chrono = "0.4"
walkdir = "2.4"
unicode-segmentation = "1.10"
fuzzy-matcher = "0.3"
xkbcommon = { version = "0.8", features = ["wayland"] }
rcalc_lib = "1.0"
#alsa = { version = "0.7", optional = true }
dbus = "0.9"
libpulse-binding = "2.28"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"