From d65c800858f5c36e3380bf32e94103805768b204 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 14 Feb 2025 12:18:29 +0900 Subject: updated Keybinds.sh --- config/hypr/scripts/KeyBinds.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/scripts/KeyBinds.sh') diff --git a/config/hypr/scripts/KeyBinds.sh b/config/hypr/scripts/KeyBinds.sh index 9e01a7c3..e2a05ac4 100755 --- a/config/hypr/scripts/KeyBinds.sh +++ b/config/hypr/scripts/KeyBinds.sh @@ -13,14 +13,14 @@ fi # Define the config files KEYBINDS_CONF="$HOME/.config/hypr/configs/Keybinds.conf" USER_KEYBINDS_CONF="$HOME/.config/hypr/UserConfigs/UserKeybinds.conf" -LAPTOP_CONF="$HOME/.config/hypr/UserConfigs/Laptop.conf" +LAPTOP_CONF="$HOME/.config/hypr/UserConfigs/Laptops.conf" # Combine the contents of the keybinds files and filter for keybinds -KEYBINDS=$(cat "$KEYBINDS_CONF" "$USER_KEYBINDS_CONF" | grep -E '^(bind|bindl|binde|bindm)') +KEYBINDS=$(cat "$KEYBINDS_CONF" "$USER_KEYBINDS_CONF" | grep -E '^bind') # Check if Laptop.conf exists and add its keybinds if present if [[ -f "$LAPTOP_CONF" ]]; then - LAPTOP_BINDS=$(grep -E '^(bind|bindl|binde|bindm)' "$LAPTOP_CONF") + LAPTOP_BINDS=$(grep -E '^bind' "$LAPTOP_CONF") KEYBINDS+=$'\n'"$LAPTOP_BINDS" fi -- cgit v1.2.3