Skip to content

Commit

Permalink
update file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Jul 16, 2021
1 parent aaac9e5 commit 4570e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class MDI(FlowLauncher):
def __init__(self):

self.result = []
with open("./icons.json", "r") as f:
with open("./plugin/icons.json", "r") as f:
self.icons = json.load(f)
super().__init__()

Expand All @@ -32,7 +32,7 @@ def filter(self, icon):
{
"Title": icon['name'],
"SubTitle": 'Press ENTER to copy to clipboard',
"IcoPath": f'./icons/{icon["name"]}.svg',
"IcoPath": f'./plugin/icons/{icon["name"]}.svg',
"JsonRPCAction": {
"method": "copy_to_clipboard",
"parameters": [icon['name']]
Expand Down

0 comments on commit 4570e56

Please sign in to comment.