Fixed keymap install asking for inversion.

This commit is contained in:
Scott Duensing 2025-06-08 19:51:37 -05:00
parent 54b0d7f1e2
commit 1592e3a3c6

View file

@ -119,7 +119,7 @@ else
printf "By default, the top row keys will do their special function (brightness, volume, browser control, etc).\n"
printf "Holding the search key will make the top row keys act like fn keys (f1, f2, f3, etc).\n"
printf "Would you like to invert this? (y/N) "
read -r INVERT
# read -r INVERT
if [ "$distro" == "nixos" ] && ! which python3 &>/dev/null; then
[[ $INVERT =~ ^[Yy]$ ]] && nix-shell -p python3 --run "python3 cros-keyboard-map.py -i" ||
nix-shell -p python3 --run "python3 cros-keyboard-map.py"