1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/window-managers/qtile/0003-Restart-executable.patch

14 lines
534 B
Diff
Raw Normal View History

diff --git a/libqtile/manager.py b/libqtile/manager.py
2018-01-31 18:58:52 +00:00
index 36518a74..9b6bdd02 100644
--- a/libqtile/manager.py
+++ b/libqtile/manager.py
2018-01-31 18:58:52 +00:00
@@ -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):
2018-01-31 18:58:52 +00:00
"""Run cmd in a shell.