From 0ab85263e2e34ac9b8fd1795420119e11e11e368 Mon Sep 17 00:00:00 2001 From: Martin Stork Date: Fri, 4 Jul 2025 20:27:51 +0200 Subject: [PATCH] Open and close wofi with the same binding --- default/hypr/bindings.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf index 8dbd878..3cd1ec4 100644 --- a/default/hypr/bindings.conf +++ b/default/hypr/bindings.conf @@ -10,7 +10,9 @@ bind = SUPER, G, exec, $messenger bind = SUPER, O, exec, obsidian -disable-gpu bind = SUPER, slash, exec, $passwordManager -bind = SUPER, space, exec, flock --nonblock /tmp/.wofi.lock -c "wofi --show drun --sort-order=alphabetical" +# Toggle wofi +bind = SUPER, space, exec, pkill wofi || wofi --show drun --sort-order=alphabetical + bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next