remove auto-kill wofi

Former-commit-id: 42464199cc
This commit is contained in:
Hadi
2025-04-29 23:03:05 +02:00
parent 66cce04e98
commit 40d80808c3

View File

@@ -16,16 +16,16 @@ let
pkill wofi pkill wofi
else else
wofi -p " Apps" --show drun & wofi -p " Apps" --show drun &
# Quit when not focused anymore # # Quit when not focused anymore
sleep 0.2 # sleep 0.2
while true; do # while true; do
window=$(hyprctl activewindow | grep "wofi") # window=$(hyprctl activewindow | grep "wofi")
if [[ ! $window ]]; then # if [[ ! $window ]]; then
pkill wofi # pkill wofi
break # break
fi # fi
sleep 0.2 # sleep 0.2
done # done
fi fi
''; '';