v1.3.1: Config Rewrite
This release doesn't add any new features to the soundboard, but a tidy-up for the config file.
Config
- The config file has been changed from
config.tomltoconfig.json(likely under the directory~/.config/cls/)- An auto config migration system is also added, so don't worry about it
- Although it's recommended to make a backup of your previous config just in case
- The config data is structured in a more compact way, besides minifying the output JSON
- For example, my config file went from ~6.5KiB to ~2.9KiB
- Configuring per-file settings (e.g. hotkey, file ID, volume) is now more efficient in terms of storage
- Changed config library from
confytoconfig+dirs
Optimization
This release introduced some insignificant size optimizations, but I'm putting them here anyway.
- Replaced
pulsectl-rsandlibpulse-bindingwith a singlepactlcommand- Yes, this uses external dependency, but there are parts that already use the same command anyway so there's not an increase in external dependency
- Modified
Cargo.tomlto output executable with smaller size
Checksum
SHA256 for the cls binary file:
06e1187e63d0aab508547fd43c98331e72eccac32b32d881f8cedf948cd702c1