diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-14 12:18:29 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-14 12:18:29 +0900 |
| commit | d65c800858f5c36e3380bf32e94103805768b204 (patch) | |
| tree | cd9bdf6f35ad660f0c36a48c3367e4bd6fd3d079 /config/hypr/scripts | |
| parent | 9783a8b23f38adcfb0c5b3e7c65c5bc852028c17 (diff) | |
updated Keybinds.sh
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/KeyBinds.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
