This PR introduces two minor improvements to the configuration management:
Default Swatch for Desktop Mode: Sets swatch = true as the default in the stock [desktop] configuration and internal defaults. This ensures that desktop notifications include a visual color swatch by default, improving the user experience for the app-menu launcher.
Comment Alignment in set_config: Implements a robust whitespace adjustment logic in the configuration updater. When toggling between values of different lengths (like true and false), the tool now dynamically adds or removes spaces to keep trailing comments vertically aligned in config.toml.
Both changes have been verified with manual reproduction scripts and the existing test suite.
This PR introduces two minor improvements to the configuration management:
1. **Default Swatch for Desktop Mode**: Sets `swatch = true` as the default in the stock `[desktop]` configuration and internal defaults. This ensures that desktop notifications include a visual color swatch by default, improving the user experience for the app-menu launcher.
2. **Comment Alignment in `set_config`**: Implements a robust whitespace adjustment logic in the configuration updater. When toggling between values of different lengths (like `true` and `false`), the tool now dynamically adds or removes spaces to keep trailing comments vertically aligned in `config.toml`.
Both changes have been verified with manual reproduction scripts and the existing test suite.
Set swatch = true as the default in the stock [desktop] configuration
and internal defaults. This ensures that desktop notifications include
a visual color swatch by default. Updated README and tests accordingly.
Updated set_config to dynamically adjust leading whitespace of trailing
comments when toggling between true/false (or any values of different
lengths). This ensures that inline comments in config.toml remain
vertically aligned after programmatic updates.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR introduces two minor improvements to the configuration management:
swatch = trueas the default in the stock[desktop]configuration and internal defaults. This ensures that desktop notifications include a visual color swatch by default, improving the user experience for the app-menu launcher.set_config: Implements a robust whitespace adjustment logic in the configuration updater. When toggling between values of different lengths (liketrueandfalse), the tool now dynamically adds or removes spaces to keep trailing comments vertically aligned inconfig.toml.Both changes have been verified with manual reproduction scripts and the existing test suite.