mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
28c44a15c7
* Use absolute paths to load gobject, pango and cairo. * Add xcb-cursor support (also with absolute path) * Avoid tainting child processes environment: Save PATH and PYTHONPATH in wrapper, and restore them in python code. * Alter restart process, using $0 saved in wrapper, which allow user to restart qtile after system rebuild to upgrade it.
26 lines
801 B
Diff
26 lines
801 B
Diff
From b560c11078fecc35df2c62f34beda06c4e80a10d Mon Sep 17 00:00:00 2001
|
|
From: "Alexander V. Nikolaev" <avn@avnik.info>
|
|
Date: Fri, 27 Nov 2015 10:54:35 +0200
|
|
Subject: [PATCH 3/3] Restart executable
|
|
|
|
---
|
|
libqtile/manager.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libqtile/manager.py b/libqtile/manager.py
|
|
index b1a38e2..110f7d8 100644
|
|
--- a/libqtile/manager.py
|
|
+++ b/libqtile/manager.py
|
|
@@ -1339,7 +1339,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):
|
|
"""
|
|
--
|
|
2.6.3
|
|
|