fix prompts

This commit is contained in:
Hadi 2024-10-16 00:43:59 +02:00
parent fdec6ed81c
commit 0d50980a8d

View File

@ -14,7 +14,7 @@ let
if pgrep wofi; then if pgrep wofi; then
pkill wofi pkill wofi
else else
wofi --show drun wofi -p " Apps" --show drun
fi fi
# if pgrep tofi; then # if pgrep tofi; then
# pkill tofi # pkill tofi
@ -39,7 +39,7 @@ let
"󰿅 Shutdown" "󰿅 Shutdown"
) )
selected=$(printf '%s\n' "''${options[@]}" | wofi --dmenu) selected=$(printf '%s\n' "''${options[@]}" | wofi -p " Powermenu" --dmenu)
# selected=$(printf '%s\n' "''${options[@]}" | tofi --prompt-text "> ") # selected=$(printf '%s\n' "''${options[@]}" | tofi --prompt-text "> ")
selected=''${selected:2} selected=''${selected:2}