summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnas Udovicius <arnas.u@estina.lt>2020-01-06 00:48:23 +0200
committerArnas Udovicius <arnas.u@estina.lt>2020-01-06 00:48:23 +0200
commite7af5f76cb077261ad2b2f153ea63e6ca8503b84 (patch)
tree6a3e5924ec33faf240c2e1f47b0985046425c70e
parent77e49674e2344e2c6ffc4b76ec4d33f97a40a73e (diff)
added Samogitian (sgs) layout
-rw-r--r--rules/base.xml9
-rw-r--r--symbols/lt27
2 files changed, 36 insertions, 0 deletions
diff --git a/rules/base.xml b/rules/base.xml
index f6397f0a..df7d3a13 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -4232,6 +4232,15 @@
<description>Lithuanian (LEKPa)</description>
</configItem>
</variant>
+ <variant>
+ <configItem>
+ <name>sgs</name>
+ <description>Samogitian</description>
+ <languageList>
+ <iso639Id>sgs</iso639Id>
+ </languageList>
+ </configItem>
+ </variant>
</variantList>
</layout>
<layout>
diff --git a/symbols/lt b/symbols/lt
index 829f39aa..a7261a19 100644
--- a/symbols/lt
+++ b/symbols/lt
@@ -317,3 +317,30 @@ partial alphanumeric_keys
xkb_symbols "sun_type6" {
include "sun_vndr/lt(sun_type6)"
};
+
+// Samogitian (žemaiťiu/žemaičių) layout based on Lithuanian standard layout.
+// Long vowels are made by composition. It means after pressing vowel press grave accent (`). Ex., a` -> ā̄̄ .
+// This layout also supports special letters like ëůȧťď or Latvian ģŗļķ. These can be accessed by similar letter with holding AltGr.
+// Euro sign € is added on top e. Accessed by holding AltGr.
+// To enable layout use:
+// Option "XkbLayout" "lt(sgs)"
+//
+// Added by Arnas Udovičius <zordsdavini@gmail.com>, 2020
+
+partial alphanumeric_keys modifier_keys
+xkb_symbols "sgs" {
+
+ include "lt(basic)"
+ name[Group1]="Samogitian";
+
+ key <TLDE> {[ U0304, asciitilde, grave, acute ]};
+ key <AD01> {[ q, Q, U00EB, U00CB ]};
+ key <AD02> {[ w, W, U016F, U016E ]};
+ key <AD04> {[ r, R, rcedilla, Rcedilla]};
+ key <AD05> {[ t, T, tcaron, Tcaron ]};
+ key <AC01> {[ a, A, U0227, U0226 ]};
+ key <AC03> {[ d, D, dcaron, Dcaron ]};
+ key <AC05> {[ g, G, gcedilla, Gcedilla]};
+ key <AC08> {[ k, K, kcedilla, Kcedilla]};
+ key <AC09> {[ l, L, lcedilla, Lcedilla]};
+};