launch i3-sensible-terminal instead of termite

This commit is contained in:
Maximilian Keßler 2022-05-01 19:25:01 +02:00
parent 79d7e17b5f
commit 9631f273e9
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ class Notes:
def open_terminal(self): def open_terminal(self):
result = subprocess.Popen( result = subprocess.Popen(
['termite'], env=self.environment(), cwd=self.root ['i3-sensible-terminal'], env=self.environment(), cwd=self.root
) )
def compile_master(self): def compile_master(self):

View file

@ -9,7 +9,7 @@ def edit(filepath: Path, rootpath: Path = None, env=os.environ, servername='tex
if not rootpath: if not rootpath:
rootpath = filepath.root rootpath = filepath.root
subprocess.Popen([ subprocess.Popen([
"termite", "i3-sensible-terminal",
"-e", "-e",
f"vim --servername {servername} --remote-silent {str(filepath)}" f"vim --servername {servername} --remote-silent {str(filepath)}"
], env=env, cwd=str(rootpath)) ], env=env, cwd=str(rootpath))