summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/01-macbook
blob: 3526bc64a3f4714269a787662d416b2d38bf5487 (plain)
1
2
3
4
5
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