From 2fa21a2da3a7d7d461993ead28ec29cec214b82f Mon Sep 17 00:00:00 2001 From: Matt C Date: Fri, 21 May 2021 11:15:04 -0400 Subject: [PATCH] use list-keymaps instead of janky ls command --- citrine.internal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index b521d9e..8608c54 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -30,8 +30,8 @@ if [[ "$KBD" == "y" || "$KBD" == "Y" ]]; then inf "Press enter to go" read fi - ls /usr/share/kbd/keymaps/**/*.map.gz | less - prompt "Correct keymap (omit /usr/share/kbd/keymaps and the file extension)" + localectl list-keymaps + prompt "Correct keymap" KMP="$response" echo "KMP=$response" loadkeys ${KMP}