From 544f5384c32c77cb764598db785c82645abeb353 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Wed, 30 Aug 2023 19:37:18 +0100 Subject: bug on line 78 stopped icons being displayed. prefixed echo with /bin/ --- .local/bin/qtile-window-switcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/qtile-window-switcher.py b/.local/bin/qtile-window-switcher.py index 000a176..c0ef5fb 100755 --- a/.local/bin/qtile-window-switcher.py +++ b/.local/bin/qtile-window-switcher.py @@ -72,10 +72,10 @@ outputs = ''.join(outputs) outputs = os.linesep.join([s for s in outputs.splitlines() if s]) print(outputs) -# Send options to rofi +# Send options to fuzzel d["OPTIONS"] = outputs d["LINES"] = str(lines) -result = subprocess.Popen('echo -e "$OPTIONS" | fuzzel -d -w 100 -l $LINES', shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=d) +result = subprocess.Popen('/bin/echo -e "$OPTIONS" | fuzzel -d -w 100 -l "$LINES"', shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=d) # Get selected option and process selected_option = str(result.communicate()) -- cgit v1.2.3