Update shipped layout files to use the new layout syntax

master
Raheman Vaiya 4 years ago
parent 768de578ba
commit 2ec886b668
  1. BIN
      data/keyd-application-mapper.1.gz
  2. BIN
      data/keyd.1.gz
  3. 56
      docs/keyd.scdoc
  4. 2
      layouts/af
  5. 2
      layouts/al
  6. 2
      layouts/am
  7. 2
      layouts/ara
  8. 2
      layouts/at
  9. 2
      layouts/au
  10. 2
      layouts/az
  11. 2
      layouts/ba
  12. 2
      layouts/bd
  13. 2
      layouts/be
  14. 2
      layouts/bg
  15. 2
      layouts/br
  16. 2
      layouts/brai
  17. 2
      layouts/bt
  18. 2
      layouts/bw
  19. 2
      layouts/by
  20. 2
      layouts/ca
  21. 2
      layouts/cd
  22. 2
      layouts/ch
  23. 2
      layouts/cm
  24. 2
      layouts/cn
  25. 2
      layouts/colemak
  26. 2
      layouts/cz
  27. 2
      layouts/de
  28. 2
      layouts/dk
  29. 2
      layouts/dvorak
  30. 2
      layouts/dz
  31. 2
      layouts/ee
  32. 2
      layouts/epo
  33. 2
      layouts/es
  34. 2
      layouts/et
  35. 2
      layouts/fi
  36. 2
      layouts/fo
  37. 2
      layouts/fr
  38. 2
      layouts/gb
  39. 2
      layouts/ge
  40. 2
      layouts/gh
  41. 2
      layouts/gn
  42. 2
      layouts/gr
  43. 2
      layouts/hr
  44. 2
      layouts/hu
  45. 2
      layouts/id
  46. 2
      layouts/ie
  47. 2
      layouts/il
  48. 2
      layouts/in
  49. 2
      layouts/iq
  50. 2
      layouts/ir
  51. 2
      layouts/is
  52. 2
      layouts/it
  53. 2
      layouts/jp
  54. 2
      layouts/jv
  55. 2
      layouts/ke
  56. 2
      layouts/kg
  57. 2
      layouts/kh
  58. 2
      layouts/kr
  59. 2
      layouts/kz
  60. 2
      layouts/la
  61. 2
      layouts/latam
  62. 2
      layouts/lk
  63. 2
      layouts/lt
  64. 2
      layouts/lv
  65. 2
      layouts/ma
  66. 2
      layouts/mao
  67. 2
      layouts/md
  68. 2
      layouts/me
  69. 2
      layouts/mk
  70. 2
      layouts/ml
  71. 2
      layouts/mm
  72. 2
      layouts/mn
  73. 2
      layouts/mt
  74. 2
      layouts/mv
  75. 2
      layouts/my
  76. 2
      layouts/ng
  77. 2
      layouts/nl
  78. 2
      layouts/no
  79. 2
      layouts/np
  80. 2
      layouts/ph
  81. 2
      layouts/pk
  82. 2
      layouts/pl
  83. 2
      layouts/pt
  84. 2
      layouts/ro
  85. 2
      layouts/rs
  86. 2
      layouts/ru
  87. 2
      layouts/se
  88. 2
      layouts/si
  89. 2
      layouts/sk
  90. 2
      layouts/sn
  91. 2
      layouts/sy
  92. 2
      layouts/tg
  93. 2
      layouts/th
  94. 2
      layouts/tj
  95. 2
      layouts/tm
  96. 2
      layouts/tr
  97. 2
      layouts/tw
  98. 2
      layouts/tz
  99. 2
      layouts/ua
  100. 2
      layouts/uz
  101. Some files were not shown because too many files have changed in this diff Show More

Binary file not shown.

Binary file not shown.

@ -262,6 +262,39 @@ and not
[layer2]
```
## Layouts
A layout is a special kind of layer intended for modifying alpha keys. Unlike
layers, layouts cannot have any associated modifiers, and only one layout may
be active at a given time. The current layout can be set using the _setlayout_
action.
For convenience, keyd ships with a number of common letter layouts in
/usr/share/keyd/layouts. Before including these, it is instructive to inspect them.
Non-english layouts include a dedicated shift layer (making order of inclusion
important) and *require the use of keyd's compose definitions* (see *Unicode
Support*)
E.G
```
# Include the shipped colemak layout.
include layouts/colemak
[global]
default_layout = mylayout
[mylayout:layout]
a = b
b = c
#etc...
[control]
1 = setlayout(customlayout)
2 = setlayout(colemak)
```
## Unicode Support
If keyd encounters a valid UTF8 sequence as a right hand value, it will try and
@ -361,17 +394,17 @@ E.G
[ids]
*
# Add our shared custom bindings.
include common
# Appends bindings to the main layer
# defined in /etc/keyd/common (order matters)
[main]
include layouts/dvorak
f11 = toggle(colemak)
capslock = layer(capslock)
[colemak]
include layouts/colemak
capslock = backspace
[capslock]
1 = setlayout(colemak)
2 = setlayout(dvorak)
/etc/keyd/common:
[main]
@ -385,7 +418,7 @@ E.G
k = up
l = right
/etc/keyd/layouts/dvorak:
/usr/share/keyd/layouts/dvorak:
a = a
s = o
...
@ -400,12 +433,6 @@ Limitations:
- Included files should not end in .conf.
For convenience, keyd ships with a number of common letter layouts in
/usr/share/keyd/layouts. Before including these, it is instructive to inspect them.
Non-english layouts include a dedicated shift layer (making order of inclusion
important) and *require the use of keyd's compose definitions* (see *Unicode
Support*)
# GLOBALS
A special section called _[global]_ may be defined in the file
@ -464,7 +491,10 @@ arguments.
corresponding modifiers while held.
*layer(<layer>)*
Activates the given layer for the duration of the keypress.
Activate the given layer for the duration of the keypress.
*setlayout(<layout>)*
Set the current layout.
*toggle(<layer>)*
Permanently toggle the state of the given layer.

@ -1,3 +1,5 @@
[af:layout]
' = گ
, = و
. = .

@ -1,3 +1,5 @@
[al:layout]
' = [
, = ,
. = .

@ -1,3 +1,5 @@
[am:layout]
' = ր
, = խ
. = շ

@ -1,3 +1,5 @@
[ara:layout]
' = ط
, = و
. = ز

@ -1,3 +1,5 @@
[at:layout]
' = ä
, = ,
. = .

@ -1,3 +1,5 @@
[au:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[az:layout]
' = ə
, = ç
. = ş

@ -1,3 +1,5 @@
[ba:layout]
' = ć
, = ,
. = .

@ -1,3 +1,5 @@
[bd:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[be:layout]
' = ù
, = ;
. = :

@ -1,3 +1,5 @@
[bg:layout]
' = ч
, = р
. = л

@ -1,3 +1,5 @@
[br:layout]
, = ,
. = .
/ = ;

@ -1,3 +1,5 @@
[brai:layout]
shift = layer(brai_shift)
[brai_shift:S]

@ -1,3 +1,5 @@
[bt:layout]
' = ཛ
, = ས
. = ཧ

@ -1,3 +1,5 @@
[bw:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[by:layout]
' = э
, = б
. = ю

@ -1,3 +1,5 @@
[ca:layout]
, = ,
. = .
/ = é

@ -1,3 +1,5 @@
[cd:layout]
' = ɔ
, = ;
. = :

@ -1,3 +1,5 @@
[ch:layout]
' = ä
, = ,
. = .

@ -1,3 +1,5 @@
[cm:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[cn:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[colemak:layout]
w = w
, = ,
s = r

@ -1,3 +1,5 @@
[cz:layout]
' = §
, = ,
. = .

@ -1,3 +1,5 @@
[de:layout]
' = ä
, = ,
. = .

@ -1,3 +1,5 @@
[dk:layout]
' = ø
, = ,
. = .

@ -1,3 +1,5 @@
[dvorak:layout]
t = y
h = d
a = a

@ -1,3 +1,5 @@
[dz:layout]
' = ù
, = ;
. = :

@ -1,3 +1,5 @@
[ee:layout]
' = ä
, = ,
. = .

@ -1,3 +1,5 @@
[epo:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[es:layout]
, = ,
. = .
/ = -

@ -1,3 +1,5 @@
[et:layout]
' = ፦
, = ፣
. = ፤

@ -1,3 +1,5 @@
[fi:layout]
' = ä
, = ,
. = .

@ -1,3 +1,5 @@
[fo:layout]
' = ø
, = ,
. = .

@ -1,3 +1,5 @@
[fr:layout]
' = ù
, = ;
. = :

@ -1,3 +1,5 @@
[gb:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[ge:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[gh:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[gn:layout]
' = ߯
, = ؛
. = ،

@ -1,3 +1,5 @@
[gr:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[hr:layout]
' = ć
, = ,
. = .

@ -1,3 +1,5 @@
[hu:layout]
' = á
, = ,
. = .

@ -1,3 +1,5 @@
[id:layout]
, = ،
. = .
/ = /

@ -1,3 +1,5 @@
[ie:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[il:layout]
' = ,
, = ת
. = ץ

@ -1,3 +1,5 @@
[in:layout]
' = ट
, = ,
. = .

@ -1,3 +1,5 @@
[iq:layout]
' = ط
, = و
. = ز

@ -1,3 +1,5 @@
[ir:layout]
' = گ
, = و
. = .

@ -1,3 +1,5 @@
[is:layout]
, = ,
. = .
/ = þ

@ -1,3 +1,5 @@
[it:layout]
' = à
, = ,
. = .

@ -1,3 +1,5 @@
[jp:layout]
' = :
, = ,
. = .

@ -1,3 +1,5 @@
[jv:layout]
' =
, = ꧈
. = ꧉

@ -1,3 +1,5 @@
[ke:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[kg:layout]
' = э
, = б
. = ю

@ -1,3 +1,5 @@
[kh:layout]
' =
, = ៼
. = ។

@ -1,3 +1,5 @@
[kr:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[kz:layout]
' = э
, = б
. = ю

@ -1,3 +1,5 @@
[la:layout]
' = ງ
, = ມ
. = ໃ

@ -1,3 +1,5 @@
[latam:layout]
' = {
, = ,
. = .

@ -1,3 +1,5 @@
[lk:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[lt:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[lv:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[ma:layout]
' = ط
, = و
. = ز

@ -1,3 +1,5 @@
[mao:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[md:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[me:layout]
' = ć
, = ,
. = .

@ -1,3 +1,5 @@
[mk:layout]
' = ќ
, = ,
. = .

@ -1,3 +1,5 @@
[ml:layout]
' = ù
, = ;
. = :

@ -1,3 +1,5 @@
[mm:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[mn:layout]
' = п
, = ь
. = в

@ -1,3 +1,5 @@
[mt:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[mv:layout]
' = '
, = ،
. = .

@ -1,3 +1,5 @@
[my:layout]
' = ط
, = و
. = ز

@ -1,3 +1,5 @@
[ng:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[nl:layout]
, = ,
. = .
/ = -

@ -1,3 +1,5 @@
[no:layout]
' = æ
, = ,
. = .

@ -1,3 +1,5 @@
[np:layout]
' = '
, = ,
. = ।

@ -1,3 +1,5 @@
[ph:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[pk:layout]
, = ،
. = ۔
; = ؛

@ -1,3 +1,5 @@
[pl:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[pt:layout]
' = º
, = ,
. = .

@ -1,3 +1,5 @@
[ro:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[rs:layout]
' = ћ
, = ,
. = .

@ -1,3 +1,5 @@
[ru:layout]
' = э
, = б
. = ю

@ -1,3 +1,5 @@
[se:layout]
' = ä
, = ,
. = .

@ -1,3 +1,5 @@
[si:layout]
' = ć
, = ,
. = .

@ -1,3 +1,5 @@
[sk:layout]
' = §
, = ,
. = .

@ -1,3 +1,5 @@
[sn:layout]
' = ñ
, = ;
. = :

@ -1,3 +1,5 @@
[sy:layout]
' = ط
, = و
. = ز

@ -1,3 +1,5 @@
[tg:layout]
' = ù
, = ;
. = :

@ -1,3 +1,5 @@
[th:layout]
' = ง
, = ม
. = ใ

@ -1,3 +1,5 @@
[tj:layout]
' = э
, = б
. = ю

@ -1,3 +1,5 @@
[tm:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[tr:layout]
' = i
, = ö
. = ç

@ -1,3 +1,5 @@
[tw:layout]
' = '
, = ,
. = .

@ -1,3 +1,5 @@
[tz:layout]
' = ء
, = ،
. = ۔

@ -1,3 +1,5 @@
[ua:layout]
' = є
, = б
. = ю

@ -1,3 +1,5 @@
[uz:layout]
' = э
, = б
. = ю

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save