Flow.Launcher.Plugin.Favorites icon indicating copy to clipboard operation
Flow.Launcher.Plugin.Favorites copied to clipboard

GUI Setting

Open taooceros opened this issue 3 years ago • 1 comments

It would be cool if we can have a gui setting panel.

Steps:

  1. Implement ISettingProvider interface
  2. Return a custom usercontrol in that method.

We have provided support for loading and saving json style setting. It is implemented based on calling assembly and class name. to use it, use Context.API.LoadSettingJsonStorage<T>(). Saving will be automatically called by flow.

For the user control You can create a xaml and follow how program plugin or websearch plugin implement that.

taooceros avatar Dec 20 '21 23:12 taooceros

Thanks for the feedback, jjw24 suggested it too, but I probably won't build it because at least for me, it's totally fine without GUI.

Here is how I use it:

In Flow Launcher I type fav and hit enter, my text editor (Sublime Text) shows the conf file. I put a new entry at the top of the file or search what I want to edit, then save the file. v1.4 reloads the file automatically (it checks the modified file date when query runs). For nerds, programmers etc. this whole process can be highly efficient and also enjoyable.

I'm not short of project ideas (mostly mpv.net), otherwise I would say why not.

stax76 avatar Dec 21 '21 20:12 stax76