about summary refs log tree commit diff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index b8a76d9..c7f6fcd 100755
--- a/install.sh
+++ b/install.sh
@@ -64,7 +64,13 @@ if ! [ -f /usr/bin/keyd ]; then
 fi
 
 echo "Generating config"
-python3 cros-keyboard-map.py
+# Handle any special cases
+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
+fi
 
 echo "Installing config"
 $privesc mkdir -p /etc/keyd