Fixed keymap install asking for inversion.
This commit is contained in:
parent
54b0d7f1e2
commit
1592e3a3c6
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ else
|
||||||
printf "By default, the top row keys will do their special function (brightness, volume, browser control, etc).\n"
|
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 "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) "
|
printf "Would you like to invert this? (y/N) "
|
||||||
read -r INVERT
|
# read -r INVERT
|
||||||
if [ "$distro" == "nixos" ] && ! which python3 &>/dev/null; then
|
if [ "$distro" == "nixos" ] && ! which python3 &>/dev/null; then
|
||||||
[[ $INVERT =~ ^[Yy]$ ]] && nix-shell -p python3 --run "python3 cros-keyboard-map.py -i" ||
|
[[ $INVERT =~ ^[Yy]$ ]] && nix-shell -p python3 --run "python3 cros-keyboard-map.py -i" ||
|
||||||
nix-shell -p python3 --run "python3 cros-keyboard-map.py"
|
nix-shell -p python3 --run "python3 cros-keyboard-map.py"
|
||||||
|
|
Loading…
Add table
Reference in a new issue