use list-keymaps instead of janky ls command

artix
Matt C 4 years ago
parent b7fb0bca36
commit 2fa21a2da3

@ -30,8 +30,8 @@ if [[ "$KBD" == "y" || "$KBD" == "Y" ]]; then
inf "Press enter to go" inf "Press enter to go"
read read
fi fi
ls /usr/share/kbd/keymaps/**/*.map.gz | less localectl list-keymaps
prompt "Correct keymap (omit /usr/share/kbd/keymaps and the file extension)" prompt "Correct keymap"
KMP="$response" KMP="$response"
echo "KMP=$response" echo "KMP=$response"
loadkeys ${KMP} loadkeys ${KMP}

Loading…
Cancel
Save