fix: use -d option to set cwd
Older kitty versions don't have the `--working-directory` alias.
This commit is contained in:
@@ -22,7 +22,7 @@ class KittyNautilusExtension(GObject.GObject, Nautilus.MenuProvider):
|
||||
self.intl = TRANSLATIONS[lang]
|
||||
|
||||
def launch_kitty(self, menu: Nautilus.MenuItem, path):
|
||||
subprocess.Popen(["kitty", "--working-directory", path], shell=False)
|
||||
subprocess.Popen(["kitty", "-d", path], shell=False)
|
||||
|
||||
def make_item(self, name, path) -> Nautilus.MenuItem:
|
||||
item = Nautilus.MenuItem(
|
||||
|
||||
Reference in New Issue
Block a user