aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/qtile-window-switcher.py
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/qtile-window-switcher.py')
-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())