diff options
Diffstat (limited to 'config/chroot_local-hooks/01-macbook')
-rwxr-xr-x | config/chroot_local-hooks/01-macbook | 6 |
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 |