aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/KeyBinds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/KeyBinds.sh')
-rwxr-xr-xconfig/hypr/scripts/KeyBinds.sh7
1 files 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"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage