From 9f95a67400141ff802bc54609e9c3265d767bea0 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 26 Dec 2016 20:27:16 +0100 Subject: [PATCH] Change somes strings to use self.app --- src/manjaro_hello.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index e300c02..69fd95c 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -49,7 +49,7 @@ class ManjaroHello(): # Init window self.builder = Gtk.Builder() - self.builder.add_from_file(self.ui_path + "manjaro-hello.glade") + self.builder.add_from_file(self.ui_path + self.app + ".glade") self.builder.connect_signals(self) self.window = self.builder.get_object("window") subtitle = self.infos["arch"] @@ -184,7 +184,7 @@ class ManjaroHello(): # Specific to i3 i3_config = os.path.expanduser("~") + "/.i3/config" if os.path.isfile(i3_config): - i3_autostart = "exec --no-startup-id manjaro-hello" + i3_autostart = "exec --no-startup-id " + self.app with open(i3_config, "r+") as f: content = f.read() f.seek(0)