From e9aaf3b74cbf5a7e913ae9c4a18a11e6ca8ce4b1 Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Wed, 21 Feb 2024 16:13:27 -0500 Subject: install: add option to invert top row --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 9237a70..b3d7b67 100755 --- a/install.sh +++ b/install.sh @@ -73,7 +73,11 @@ if (grep -E "^(Nocturne|Atlas|Eve)$" /sys/class/dmi/id/product_name &> /dev/null then cp configs/cros-pixel.conf cros.conf else - python3 cros-keyboard-map.py + 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 + [[ $INVERT =~ ^[Yy]$ ]] && python3 cros-keyboard-map.py -i || python3 cros-keyboard-map.py fi echo "Installing config" -- cgit 1.4.1-2-gfad0