aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/rules/bin/ml_s.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkeyboard-config/rules/bin/ml_s.sh')
-rw-r--r--xorg-server/xkeyboard-config/rules/bin/ml_s.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/rules/bin/ml_s.sh b/xorg-server/xkeyboard-config/rules/bin/ml_s.sh
new file mode 100644
index 000000000..666ba870f
--- /dev/null
+++ b/xorg-server/xkeyboard-config/rules/bin/ml_s.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+INDIR=$1
+OUTFILE=base.ml_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " * %s = pc+%s\n", $1, $2;
+}' < $INDIR/layoutsMapping.lst >> $OUTFILE
+
+awk '{
+ printf " * %s(%s) = pc+%s(%s)\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE