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:
Marty Oehme 2022-04-27 13:50:08 +02:00
parent 2216ba079d
commit cac0aee4ca
Signed by: Marty
GPG key ID: B7538B8F50A1C800
4 changed files with 7 additions and 44 deletions

View file

@ -46,7 +46,6 @@ check_consent() {
printf "%s %s " "$2" "$default_consent"
read -r answer
if [[ "$1" == "n" ]] && [[ "$answer" != y* ]]; then
echo first
printf "%s\n" "$3"
false
elif [[ "$1" == "y" ]] && [[ "$answer" == n* ]]; then