about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeirdTreeThing <bradyn127@protonmail.com>2024-02-21 16:13:27 -0500
committerWeirdTreeThing <bradyn127@protonmail.com>2024-02-21 16:13:27 -0500
commite9aaf3b74cbf5a7e913ae9c4a18a11e6ca8ce4b1 (patch)
tree9d46f4356ca77f816e28796cad04a6e94c4daab2
parentb044528586c44f9b8fec9d58a6d533cf8e0e661c (diff)
install: add option to invert top row
-rwxr-xr-xinstall.sh6
1 files changed, 5 insertions, 1 deletions
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"