summary refs log tree commit diff
path: root/pkgs/applications/window-managers/qtile/0003-Restart-executable.patch
blob: c9ae57c8615ce94bfca0c234fe6a748079ad6dc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libqtile/manager.py b/libqtile/manager.py
index 36518a74..9b6bdd02 100644
--- a/libqtile/manager.py
+++ b/libqtile/manager.py
@@ -1386,7 +1386,7 @@ class Qtile(command.CommandObject):
         argv = [s for s in argv if not s.startswith('--with-state')]
         argv.append('--with-state=' + buf.getvalue().decode())
 
-        self.cmd_execute(sys.executable, argv)
+        self.cmd_execute(os.environ.get("QTILE_WRAPPER", "@out@/bin/qtile"), argv[1:])
 
     def cmd_spawn(self, cmd):
         """Run cmd in a shell.