Add possibility to toggle boolean config options
Created by: stlhrt
Information
- Solaar version (
solaar --version
andgit describe --tags
): 1.0.7 - Distribution: Mint & Pop!_OS
- Kernel version (ex.
uname -srmo
): 5.4.0 & 5.13.0 - Output of
solaar show
for the target device (if applicable): N/A
Is your feature request related to a problem? Please describe. I'd like to toggle boolean config options via command line instead of setting them to either True or False and going through the hoops to read current state first.
Describe the solution you'd like
Allow a command like solaar config craft backlight Toggle
to invert current boolean state of the feature.