diff --git a/hypr/scripts/keybindings.sh b/hypr/scripts/keybindings.sh index c66afb6..bcf5dff 100755 --- a/hypr/scripts/keybindings.sh +++ b/hypr/scripts/keybindings.sh @@ -25,8 +25,7 @@ echo "Reading from: $config_file" # Parse keybindings # ----------------------------------------------------- keybinds=$(grep -oP '(?<=bind = ).*' $config_file) -keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g') - +keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g') # ----------------------------------------------------- # Show keybindings in rofi # -----------------------------------------------------