summaryrefslogtreecommitdiff
path: root/packages/gpe-session-scripts/files/keymap.sh
blob: 3f2910b4396de41d39ab3d8033b4c725b7f3f13a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

MACHINE=`awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo`

case $MACHINE in
	"SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi")
		xmodmap - < /etc/X11/shepherd.xmodmap
		;;
        "Sharp-Collie"
                xmodmap - < /etc/X11/collie.xmodmap
                ;;
	"Simpad")
		xmodmap - < /etc/X11/simpad.xmodmap
		;;
esac