pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
220 stars 42 forks source link

Web Plugin User Config is not prioritized #125

Closed sevenautumns closed 2 years ago

sevenautumns commented 2 years ago

Writing a user specific web plugin config to .local/share/pop-launcher/plugins/web/config.ron adds new queries to the webplugin but does not take priority over existing queries.

Example:
I added a few queries to my .local-plugin folder. While new queries like for example

(
   matches: ["np"],
   queries: [(name: "Nix Packages", query: "search.nixos.org/packages?channel=unstable&query=")]
),

are added successfully, queries like:

(
   matches: ["gn"],
   queries: [(name: "GitHub Nix Code", query: "github.com/search?type=Code&l=Nix&q=")]
),

are shadowed by the config provided in the DISTRIBUTION path.

I feel like the user config should always take priority over the system-wide config and the system-wide config should always take priority over the distribution config.