Update windows.py

This commit is contained in:
OdiousImp2604
2022-02-28 18:05:57 +00:00
committed by GitHub
parent 2fee445cad
commit 5644f0c809

View File

@@ -64,7 +64,7 @@ def build_wofi_string(windows):
# Executes wofi with the given input string # Executes wofi with the given input string
def show_wofi(windows): def show_wofi(windows):
command="wofi -c ~/.config/wofi/menu -s ~/.config/wofi/sway.css -p \"Windows: \" -d -i --hide-scroll" command="wofi -c ~/.config/wofi/menu -s ~/.config/wofi/style.css -p \"Windows: \" -d -i --hide-scroll"
process = subprocess.Popen(command,shell=True,stdin=subprocess.PIPE,stdout=subprocess.PIPE) process = subprocess.Popen(command,shell=True,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
return process.communicate(input=windows)[0] return process.communicate(input=windows)[0]