compton-conf
compton-conf copied to clipboard
compton-conf: Some issues
Just a few random issues I noticed. Of course, you are probably already aware of most of them. It's the first day and I shouldn't expect too much. :-D
- It doesn't display correct default values when a configuration file is present but a specific option is missing. For example, menu opacity will be displayed as 0.0 if I comment out
menu-opacity = 0.8;in my configuration file. - Many people keep their configuration file in
~/.compton.conf, and you may wish to take care of it. (A lot easier with Qt than in C!) The configuration file could be in/etc/xdg/compton.conf, as well. You could query what configuration file compton is reading right now withdbus-send --print-reply --dest=com.github.chjj.compton._0 / com.github.chjj.compton.opts_get string:config_filewhen it's running. - When converting
displayName,isLetterOrNumber()should be used instead ofisNumber(), since compton replaces all non-alphanumeric characters with underscores when representing display name. - All comments are lost once compton-conf writes to the configuration file. Heh, that's a problem of libconfig, and I guess you can't do much about it.
Still there - same as in the "resonable defaults" bug