diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-08-30 19:37:18 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-08-30 19:37:18 +0100 |
commit | 544f5384c32c77cb764598db785c82645abeb353 (patch) | |
tree | c78b89b7afcf0ac67e82e1d1f6b4a9722c6f659f /.local/bin/qtile-window-switcher.py | |
parent | 4a15654f0c97b77a78e7e51c279d94575975c96b (diff) |
bug on line 78 stopped icons being displayed. prefixed echo with /bin/
Diffstat (limited to '.local/bin/qtile-window-switcher.py')
-rwxr-xr-x | .local/bin/qtile-window-switcher.py | 4 |
1 files 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()) |