aboutsummaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2023-08-30 19:37:18 +0100
committerJustine Smithies <justine@smithies.me.uk>2023-08-30 19:37:18 +0100
commit544f5384c32c77cb764598db785c82645abeb353 (patch)
treec78b89b7afcf0ac67e82e1d1f6b4a9722c6f659f /.local/bin
parent4a15654f0c97b77a78e7e51c279d94575975c96b (diff)
bug on line 78 stopped icons being displayed. prefixed echo with /bin/
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/qtile-window-switcher.py4
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())