r-c-f / waynergy

A synergy client for Wayland compositors
MIT License
394 stars 17 forks source link

Feature request: Save command line args between updates #75

Open moghingold opened 1 year ago

moghingold commented 1 year ago

I currently have my /usr/share/applications/waynergy.desktop file modified so that the executable line reads as follows:

Exec=/usr/bin/waynergy -b kde -e -t -L debug 2>&1

Every time I upgrade waynergy from the AUR with yay -S waynergy-git, a new waynergy.desktop file is created that blows away my modifications and I have to redo them every time. If making literally every available command line argument configurable in config.ini is possible then that would be ideal. If not, then changing the Exec line so it loads args from eg. an args line in the config.ini file would be pretty neat-o.

r-c-f commented 1 year ago

In this case,

backend = kde

[tls]
enable = true
tofu = true

[log]
level = debug

would cover everything given. I've added the configuration option names to the command line help text to make it slightly clearer what to use.

moghingold commented 1 year ago

Thanks!