The desktop-entry cache lived in $XDG_CACHE_HOME/wldash/desktop.json. On an NFS-shared home that is a remote read and write on every start (unless the session happens to export a machine-local XDG_CACHE_HOME), and it went stale whenever a package was installed until someone ran --desktop-refresh. Scanning the applications directories takes a few milliseconds over local /usr/share and already happened on a background thread, so the cache bought nothing: drop it, along with simd-json and the serde derives on Desktop. --desktop-refresh stays as a no-op so old key bindings keep working. Calculator history and the prompt saved on Escape are state, not cache: they move to $XDG_STATE_HOME/wldash (~/.local/state), written only on Enter/Escape, and the old cache location is still read as a fallback. With the serde derives gone, two Desktop fields were unused; use them: Type=Link entries now open their URL with xdg-open, and Terminal=true entries run under $TERMINAL -e when it is set. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
42 lines
898 B
TOML
42 lines
898 B
TOML
[package]
|
|
name = "wldash"
|
|
version = "0.4.0"
|
|
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"
|
|
|