From 8390f522766a3f9a8086554084adbf259757e1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=9Eahin=20Akkaya?= Date: Fri, 18 Mar 2022 00:39:02 +0300 Subject: [PATCH] Add new layout --- .config/layouts/colemak/cdhpt.xml | 12 +++++ .config/layouts/colemak/colemakdh | 62 ++++++++++++++++++++++++++ .config/layouts/colemak/colemakdhiso | 38 ++++++++++++++++ .config/layouts/{ => dvorak}/rdvpt | 0 .config/layouts/{ => dvorak}/rdvpt.map | 0 .config/layouts/{ => dvorak}/rdvpt.xml | 0 6 files changed, 112 insertions(+) create mode 100644 .config/layouts/colemak/cdhpt.xml create mode 100644 .config/layouts/colemak/colemakdh create mode 100644 .config/layouts/colemak/colemakdhiso rename .config/layouts/{ => dvorak}/rdvpt (100%) rename .config/layouts/{ => dvorak}/rdvpt.map (100%) rename .config/layouts/{ => dvorak}/rdvpt.xml (100%) diff --git a/.config/layouts/colemak/cdhpt.xml b/.config/layouts/colemak/cdhpt.xml new file mode 100644 index 0000000..73f870c --- /dev/null +++ b/.config/layouts/colemak/cdhpt.xml @@ -0,0 +1,12 @@ + + + cdhpt + English (Programmer Colemak-DH with Turkish support) + + + + + cdhisopt + English (Programmer Colemak-DH ISO with Turkish support) + + diff --git a/.config/layouts/colemak/colemakdh b/.config/layouts/colemak/colemakdh new file mode 100644 index 0000000..99bfc2f --- /dev/null +++ b/.config/layouts/colemak/colemakdh @@ -0,0 +1,62 @@ +// Colemak-DH (ANSI) symbols for xkb on X.Org Server 7.x +// 2014-10-25 by SteveP, https://colemakmods.github.io/mod-dh/ + +xkb_symbols "cdhpt" { + + name[Group1]= "English (Programmer Colemak-DH with Turkish support)"; + + key { [ grave, asciitilde, dead_tilde, asciitilde ] }; + key { [ at, 1 ] }; + key { [ bracketleft, 2 ] }; + key { [ braceleft, 3 ] }; + key { [ parenleft, 4 ] }; + key { [ plus, 5 ] }; + key { [ equal, 6 ] }; + key { [ parenright, 7 ] }; + key { [ braceright, 8 ] }; + key { [ bracketright, 9 ] }; + key { [ percent, 0 ] }; + key { [ asterisk, numbersign ] }; + key { [ ampersand, exclam ] }; + + key { [ q, Q ] }; + key { [ w, W ] }; + key { [ f, F ] }; + key { [ p, P ] }; + key { [ b, B ] }; + key { [ j, J ] }; + key { [ l, L ] }; + key { [ u, U, udiaeresis, Udiaeresis ] }; + key { [ y, Y ] }; + key { [ semicolon, colon ] }; + key { [ minus, underscore ] }; + key { [ dollar, asciicircum ] }; + key { [ backslash, bar ] }; + + key { [ a, A ] }; + key { [ r, R ] }; + key { [ s, S, scedilla, Scedilla ] }; + key { [ t, T ] }; + key { [ g, G, gbreve, Gbreve ] }; + key { [ m, M ] }; + key { [ n, N ] }; + key { [ e, E ] }; + key { [ i, I, idotless, Iabovedot ] }; + key { [ o, O, odiaeresis, Odiaeresis ] }; + key { [ apostrophe, quotedbl ] }; + + key { [ z, Z ] }; + key { [ x, X ] }; + key { [ c, C, ccedilla, Ccedilla ] }; + key { [ d, D ] }; + key { [ v, V ] } ; + key { [ k, K ] }; + key { [ h, H ] }; + key { [ comma, less ] }; + key { [ period, greater ] }; + key { [ slash, question ] }; + + key { [ space, space, space, nobreakspace ] }; + + include "level3(ralt_switch)" +}; diff --git a/.config/layouts/colemak/colemakdhiso b/.config/layouts/colemak/colemakdhiso new file mode 100644 index 0000000..86205b7 --- /dev/null +++ b/.config/layouts/colemak/colemakdhiso @@ -0,0 +1,38 @@ +// Colemak-DH (ISO) symbols for xkb on X.Org Server 7.x +// https://colemakmods.github.io/mod-dh/ + +xkb_symbols "cdhisopt" { + + include "us(colemak_dh)" + name[Group1]= "English (Programmer Colemak-DH ISO with Turkish support)"; + + key { [ grave, asciitilde, dead_tilde, asciitilde ] }; + key { [ at, 1 ] }; + key { [ bracketleft, 2 ] }; + key { [ braceleft, 3 ] }; + key { [ parenleft, 4 ] }; + key { [ plus, 5 ] }; + key { [ equal, 6 ] }; + key { [ parenright, 7 ] }; + key { [ braceright, 8 ] }; + key { [ bracketright, 9 ] }; + key { [ percent, 0 ] }; + key { [ asterisk, numbersign ] }; + key { [ ampersand, exclam ] }; + + key { [ u, U, udiaeresis, Udiaeresis ] }; + key { [ minus, underscore ] }; + key { [ m, M, Left, Left ] }; + key { [ n, N, Down, Down ] }; + key { [ e, E, Up, Up ] }; + key { [ i, I, Right, Right ] }; + key { [ apostrophe, quotedbl, idotless, Iabovedot ] }; + key { [ s, S, scedilla, Scedilla ] }; + key { [ g, G, gbreve, Gbreve ] }; + key { [ c, C, ccedilla, Ccedilla ] }; + key { [ o, O, odiaeresis, Odiaeresis ] }; + key { [ dollar, asciicircum ] }; + key { [ backslash, bar, asciitilde, brokenbar] }; + + include "level3(ralt_switch)" +}; diff --git a/.config/layouts/rdvpt b/.config/layouts/dvorak/rdvpt similarity index 100% rename from .config/layouts/rdvpt rename to .config/layouts/dvorak/rdvpt diff --git a/.config/layouts/rdvpt.map b/.config/layouts/dvorak/rdvpt.map similarity index 100% rename from .config/layouts/rdvpt.map rename to .config/layouts/dvorak/rdvpt.map diff --git a/.config/layouts/rdvpt.xml b/.config/layouts/dvorak/rdvpt.xml similarity index 100% rename from .config/layouts/rdvpt.xml rename to .config/layouts/dvorak/rdvpt.xml