keyd: Update conf files to new 2.0 syntax
New config syntax uses [ids] section to select which input devices are affected instead of file names, so we can have all settings (for similarly set up keyboards) in a single default config file. The file itself needs to end in `.conf` instead of the old `.cfg` and there is a slight difference in syntax between the old `C` and the new `control` for mapping the control key. That is about it.
This commit is contained in:
parent
2216ba079d
commit
cac0aee4ca
4 changed files with 7 additions and 44 deletions
39
bootstrap/system-packages/etc/keyd/default.conf
Normal file
39
bootstrap/system-packages/etc/keyd/default.conf
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# Makes capslock to control/escape
|
||||
# insert to paste
|
||||
# right alt to enable German Umlaute (äÄöÖüÜ),
|
||||
# sharp s (ß), and the Euro sign (€).
|
||||
# Needs compose key to be set in xkb to work correctly:
|
||||
# $ setxkbmap -option "compose:menu"
|
||||
|
||||
[ids]
|
||||
|
||||
*
|
||||
|
||||
[main]
|
||||
|
||||
capslock = overload(control, esc)
|
||||
insert = S-insert
|
||||
rightalt = layer(dia)
|
||||
shift = layer(shift)
|
||||
rightshift = layer(shift)
|
||||
|
||||
[shift:S]
|
||||
|
||||
rightalt = layer(shiftedDia)
|
||||
|
||||
[dia]
|
||||
|
||||
shift = layer(shiftedDia)
|
||||
rightshift = layer(shiftedDia)
|
||||
|
||||
a = macro(compose a ")
|
||||
o = macro(compose o ")
|
||||
u = macro(compose u ")
|
||||
s = macro(compose s s)
|
||||
e = macro(compose = e)
|
||||
|
||||
[shiftedDia]
|
||||
|
||||
a = macro(compose A ")
|
||||
o = macro(compose O ")
|
||||
u = macro(compose U ")
|
||||
Loading…
Add table
Add a link
Reference in a new issue