summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/01-macbook
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/01-macbook')
-rwxr-xr-xconfig/chroot_local-hooks/01-macbook6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/01-macbook b/config/chroot_local-hooks/01-macbook
new file mode 100755
index 0000000..3526bc6
--- /dev/null
+++ b/config/chroot_local-hooks/01-macbook
@@ -0,0 +1,6 @@
+#!/bin/sh
+mkdir -p /etc/skel/.kde/Autostart
+cat >/etc/skel/.kde/Autostart/macbook.sh <<MAC
+grep -q "Apple.*Keyboard" /proc/bus/input/devices && setxkbmap -model macbook79
+MAC
+chmod +x /etc/skel/.kde/Autostart/macbook.sh