diff options
Diffstat (limited to 'packages/gpe-session-scripts/files')
-rw-r--r-- | packages/gpe-session-scripts/files/collie.xmodmap | 0 | ||||
-rw-r--r-- | packages/gpe-session-scripts/files/keymap.sh | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/packages/gpe-session-scripts/files/collie.xmodmap b/packages/gpe-session-scripts/files/collie.xmodmap new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpe-session-scripts/files/collie.xmodmap diff --git a/packages/gpe-session-scripts/files/keymap.sh b/packages/gpe-session-scripts/files/keymap.sh index e69de29bb2..3f2910b439 100644 --- a/packages/gpe-session-scripts/files/keymap.sh +++ b/packages/gpe-session-scripts/files/keymap.sh @@ -0,0 +1,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 + |