picom icon indicating copy to clipboard operation
picom copied to clipboard

[feature request] GUI config tool

Open wxl opened this issue 4 years ago • 10 comments

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.

wxl avatar May 06 '20 19:05 wxl

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)

sandsmark avatar Jun 25 '20 16:06 sandsmark

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

eylles avatar Mar 17 '21 20:03 eylles

I have written a configuration tool using GTK3, hopefully this is helpful. https://github.com/ohno9119/picom-conf-gtk/

jcontoso avatar Jun 03 '23 18:06 jcontoso

@ohno9119 I did something like this but on TUI, are you up for adding animations in this? I can gladly help as well.

FT-Labs avatar Jun 03 '23 19:06 FT-Labs

@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?

jcontoso avatar Jun 04 '23 06:06 jcontoso

@ohno9119 What do you mean by detecting? They are all constant strings or float values

FT-Labs avatar Jun 04 '23 17:06 FT-Labs

@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.

jcontoso avatar Jun 04 '23 17:06 jcontoso

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?

FT-Labs avatar Jun 04 '23 22:06 FT-Labs

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.

jcontoso avatar Jun 05 '23 04:06 jcontoso

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

FT-Labs avatar Jun 06 '23 19:06 FT-Labs