From 765642c6beff60ccc75e56512a33fc3b6ef47a74 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 20 Sep 2024 13:59:54 +0900 Subject: it seems pgrep aint working properly in nixos. So ultimately, just adding pkill yad when launching KeyBinds.sh --- config/hypr/scripts/KeyBinds.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/hypr/scripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh index 01764f0f..10cb0f51 100755 --- a/config/hypr/scripts/KeyBinds.sh +++ b/config/hypr/scripts/KeyBinds.sh @@ -3,10 +3,9 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Searchable enabled keybinds using rofi -# Check if yad is running and kill it if it is -if pgrep -x "yad" > /dev/null; then - pkill yad -fi +# Kill yad to not interfere with this binds +pkill yad || true + # Define the config files KEYBINDS_CONF="$HOME/.config/hypr/configs/Keybinds.conf" -- cgit v1.2.3