Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add initial support for xcompose conversion to yamlcompose #2

Merged
merged 2 commits into from
Nov 27, 2020

Conversation

Granitosaurus
Copy link
Owner

@Granitosaurus Granitosaurus commented Sep 25, 2020

Linux's xcompose mappings support .xcompose to .yaml conversion:

$ gen-compose-conver xcompose --help
Usage: gen-compose-convert xcompose [OPTIONS] [FILES]...
  Convert xcompose file, that follows format like: <Multi_key> <parenleft>
  <period> <1> <parenright>: "⑴"
Options:
  -c, --keep-comments  keep inline comments
  --help               Show this message and exit.

For example:

$ cat mappings/example.compose
<Multi_key> <B> <bar> : "₿" U20BF  # BITCOIN SIGN
$ gen-compose-convert xcompose mappings/example.compose --keep-comments > example.yaml
$ cat example.yaml
"B|": "₿"  # BITCOIN SIGN

@Granitosaurus Granitosaurus merged commit 07ded0a into master Nov 27, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant