picom
picom copied to clipboard
[feature request] GUI config tool
Just as compton had compton-conf, picom could use something similar. Actually, compton-conf was suggested by e.g. Arch as the tool to use for picom but it looks like as of 8.0, it no longer works. Especially since compton-conf is now officially deprecated perhaps it might not be a bad idea to fork it.
they use a "clever" hack by setting object names to the property names, and some hacks to look up which class generated a value change. so while you can probably get away with updating https://github.com/lxqt/compton-conf/blob/master/maindialog.ui, it would be nicer to write a proper tool from scratch.
that said, the picom config is fairly trivial, I don't really see the use of a GUI tool (if you just need help picking the right color values you have more generic tools like kcolorchooser)
A quick way around is to write a python + qt tool, it is rare to find a system without python and the one place where it makes most sense (LXQT) already has qt as dependency
I have written a configuration tool using GTK3, hopefully this is helpful. https://github.com/ohno9119/picom-conf-gtk/
@ohno9119 I did something like this but on TUI, are you up for adding animations in this? I can gladly help as well.
@ohno9119 I did something like this but on TUI, are you up for adding animations in this? I can gladly help as well.
If there is a way for detecting that, why not?
@ohno9119 What do you mean by detecting? They are all constant strings or float values
@ohno9119 What do you mean by detecting? They are all constant strings or float values
I meant detecting whether or not the version of picom the user is using supports animations.
oh got it, that can be handled easy. I will take a peek in your code soon, ui seemed pretty. One more question, are you editing picom.conf for each change (like setting fading to 0.5) or is there a save button that will apply the configs after the change?
oh got it, that can be handled easy. I will take a peek in your code soon, ui seemed pretty. One more question, are you editing picom.conf for each change (like setting fading to 0.5) or is there a save button that will apply the configs after the change?
There is an apply button that saves changes.
oh got it, that can be handled easy. I will take a peek in your code soon, ui seemed pretty. One more question, are you editing picom.conf for each change (like setting fading to 0.5) or is there a save button that will apply the configs after the change?
There is an apply button that saves changes.
perfect thanks