nicklan / pnmixer

Volume mixer for the system tray
GNU General Public License v3.0
152 stars 32 forks source link

Feature request: System wide configuration file #188

Open ndeffayet opened 5 years ago

ndeffayet commented 5 years ago

Hello,

pnmixer read only a configuration in user directory (.config/pnmixer).

Is it possible to add a system wide configuration file (exemple: /etc/pnmixer.conf) ?

Many thanks

Nicolas

hasufell commented 5 years ago

How does it behave if there are two such files? Ignore the user file? Merge the options?

ndeffayet commented 5 years ago

It should read first /etc/pnmixer.conf then .config/pnmixer override the setting of /etc/pnmixer.conf. .config/pnmixer is written only in case of user set setting different than the one loaded from /etc/pnmixer.conf. Many thanks