wlay icon indicating copy to clipboard operation
wlay copied to clipboard

Support for command line arguments

Open nwg-piotr opened this issue 3 years ago • 0 comments

Hi,

I'm working on a GTK shell for sway, and looking for a simple output management, capable of writing settings to a file, which I could include into the sway config. Your work seems to be the best available solution. It would be even better if I could force the output format and file path with command line arguments. I'm writing to ask if your project is still alive, and if you could add support for arguments.

For instance (-f | --format, -p | --path):

wlay -f sway -p ~/.config/sway/outputs

would turn off the format combo and the file path entry, and just save settings in sway format to ~/.config/sway/outputs.

Probably I could modify the code, but it would take me ages, as I'm useless at C. What do you think?

nwg-piotr avatar Dec 16 '21 10:12 nwg-piotr