From 1a2c1e6d9d7788172d742dd4e3b6157c80510d77 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 29 Apr 2025 23:03:05 +0200 Subject: [PATCH] remove auto-kill wofi Former-commit-id: 42464199cc0228040757dc3dd335979040db230f --- home/scripts/system/default.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/home/scripts/system/default.nix b/home/scripts/system/default.nix index 621b3be0..cee7e0fb 100644 --- a/home/scripts/system/default.nix +++ b/home/scripts/system/default.nix @@ -16,16 +16,16 @@ let pkill wofi else wofi -p " Apps" --show drun & - # Quit when not focused anymore - sleep 0.2 - while true; do - window=$(hyprctl activewindow | grep "wofi") - if [[ ! $window ]]; then - pkill wofi - break - fi - sleep 0.2 - done + # # Quit when not focused anymore + # sleep 0.2 + # while true; do + # window=$(hyprctl activewindow | grep "wofi") + # if [[ ! $window ]]; then + # pkill wofi + # break + # fi + # sleep 0.2 + # done fi '';