d4nj1 / TLPUI

A GTK user interface for TLP written in Python
GNU General Public License v2.0
1.12k stars 84 forks source link

Use TLP Drop-in configs #158

Open KAGEYAM4 opened 1 month ago

KAGEYAM4 commented 1 month ago

Currently tlpui changes /etc/tlp.conf. Wouldn't it be better if tlpui uses /etc/tlp.d/*.conf: Drop-in customization snippets, read in lexical (alphabetical) order ?

As /etc/tlp.conf is part of package in ArchLinux - https://archlinux.org/packages/extra/any/tlp/. Anytime an update drops, users have to merge the conflict.

If tlpui used /etc/tlp.d/<lower-number.conf, this would solve the problem.

KAGEYAM4 commented 3 weeks ago

I am little bit conflited, /etc/tlp.conf is very well documented and therefore good place to change config and read about configs.

How does tlp-ui remembers default/stock value of a config?