summaryrefslogtreecommitdiff
path: root/Compose
diff options
context:
space:
mode:
authorpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-02-26 09:39:20 +0000
committerpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-02-26 09:39:20 +0000
commitcf6cdbc1086c015a824a8e6e26fcb7d9b0283655 (patch)
tree31267f12841fff99526436fbde257d095c239046 /Compose
parentc6b388f2ab5e9ba034b2b0b05d0037dd915fa7b4 (diff)
downloadneo-layout-cf6cdbc1086c015a824a8e6e26fcb7d9b0283655.tar.gz
neo-layout-cf6cdbc1086c015a824a8e6e26fcb7d9b0283655.tar.bz2
neo-layout-cf6cdbc1086c015a824a8e6e26fcb7d9b0283655.zip
Anfänge eines Auswahldialogs, um Compose-Module zu wählen (bisher nur rudimentär und nur KDE)
git-svn-id: https://svn.neo-layout.org@1700 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'Compose')
-rwxr-xr-xCompose/eigene_Compose_erstellen/linux34
1 files changed, 34 insertions, 0 deletions
diff --git a/Compose/eigene_Compose_erstellen/linux b/Compose/eigene_Compose_erstellen/linux
new file mode 100755
index 0000000..9556684
--- /dev/null
+++ b/Compose/eigene_Compose_erstellen/linux
@@ -0,0 +1,34 @@
+pfad=..
+
+# Compose-Module
+anzahl=4
+
+m[1]=mathephysik # Modul
+b[1]="mathematische und physikalische Zeichen (≥ ∉ ℏ ℃)" # Beschreibung
+d[1]=Compose_math_and_physics.neo # Datei
+
+m[2]=griechisch
+b[2]="griechische Buchstaben (A ἀ)"
+d[2]=Compose_greek.neo
+
+m[3]=rom
+b[3]="römische Zahlen >12 (große Datei!) (1868→ⅿⅾⅽⅽⅽⅼⅹⅴⅰⅰⅰ)"
+d[3]=Compose_many_roman_numericals.neo
+
+m[4]=klingonisch
+b[4]="klingonische Zahlen (große Datei!) (1984→wa'SaD Hutvatlh chorghmaH loS)"
+d[4]=Compose_many_klingon_numericals.neo
+
+m[0]=standard
+d[0]=Compose.neo
+
+
+menu=`kdialog --title Compose-Module --checklist " Wählen Sie die optionalen Compose-Module von Neo aus, die Sie verwenden möchten. " ${m[1]} "${b[1]}" off ${m[2]} "${b[2]}" off ${m[3]} "${b[3]}" off ${m[4]} "${b[4]}" off`
+auswahl=`echo \"${m[0]}\" $menu`
+
+
+rm $pfad/XCompose
+for i in $(seq 0 $anzahl)
+do
+ echo $auswahl | grep ${m[$i]} > /dev/null && cat $pfad/${d[$i]} >> $pfad/XCompose
+done \ No newline at end of file