Skip to content

feat: target-specific options #235

@fabi1cazenave

Description

@fabi1cazenave

The current layout.metadata contains options which seem redundant, because they’re specific to different targets:

name        = "qwerty-custom"  # full layout name, displayed in the keyboard settings
name8       = "custom"         # short Windows filename: no spaces, no special chars
locale      = "us"             # locale/language id
variant     = "custom"         # layout variant id
author      = "nobody"         # author name
description = "custom QWERTY layout"

Besides, some features aren’t developed because they can’t be easily implemented on all platforms. A way de define platform-specific features would help breaking down development tasks into smaller bits.

So I think we should keep only generic options in layout.metadata, and move all target-specific options in branches:

  • layout.metadata.target.ahk
  • layout.metadata.target.keylayout
  • layout.metadata.target.klc
  • layout.metadata.target.svg
  • layout.metadata.target.xkb

This would help #228 and #224, among recent tickets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions