- Added mousepad as a default for edit config (ensoOS)

This commit is contained in:
Ben Reaves
2020-10-12 21:54:13 -05:00
parent 7574338d3a
commit be0cfbce2d

View File

@@ -387,6 +387,8 @@ class Indicator():
subprocess.Popen(['/opt/sublime_text/sublime_text',self.homedir+'/.config/kinto/kinto.py'])
elif which(gedit) is not None:
subprocess.Popen(['gedit',self.homedir+'/.config/kinto/kinto.py'])
elif which(mousepad) is not None:
subprocess.Popen(['mousepad',self.homedir+'/.config/kinto/kinto.py'])
except subprocess.CalledProcessError: # Notify user about error on running restart commands.
subprocess.Popen(['notify-send','Kinto: Error could not open config file!','-i','budgie-desktop-symbolic'])