From d018b60fe2496f038d84caf8232a2480cc0dbe64 Mon Sep 17 00:00:00 2001 From: Jeena Date: Tue, 16 Dec 2025 07:55:01 +0900 Subject: [PATCH] Close tofi on second press of SUPER I didn't like that if I pressed SUPER accidentally, I had to press ESC which is somewhere compleatly different on the keyboard. This way it's much easier to close tofi. --- hypr/scripts/launch-tofi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/scripts/launch-tofi.sh b/hypr/scripts/launch-tofi.sh index 6ec6b12..a26a914 100755 --- a/hypr/scripts/launch-tofi.sh +++ b/hypr/scripts/launch-tofi.sh @@ -1,3 +1,3 @@ #!/bin/sh -pkill tofi-drun || tofi-drun --drun-launch=true +pgrep tofi-drun && pkill tofi-drun || tofi-drun --drun-launch=true