diff --git a/fake_home/.rofi-list-git-repos.py b/fake_home/.rofi-list-git-repos.py index ec345a1..4a3df10 100755 --- a/fake_home/.rofi-list-git-repos.py +++ b/fake_home/.rofi-list-git-repos.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. @@ -29,7 +29,7 @@ def get_project_type(project) -> str: return "webstorm" if file.endswith("cargo.toml") or file.endswith(".c"): return "clion" - if file.endswith(".csproj"): + if file.endswith(".csproj") or file.endswith("DotSettings"): return "rider" if file.endswith(".py"): return "pycharm" @@ -51,7 +51,7 @@ def open_project(project: str) -> (): if project_type is None: return command = get_application_desktop_file_info(project_type, 'Exec')[6:-5] - subprocess.Popen([command, project], shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + subprocess.Popen([command + " " + project], shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) def print_project_message(project: str) -> ():