mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
14 lines
534 B
Diff
14 lines
534 B
Diff
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.
|