Giter VIP home page Giter VIP logo

compose's Introduction

Compose

Compose is a tiny command-line utility for X11 or Wayland that helps you edit your Compose file to add multi-key sequences.

It uses uni behind the scenes to let you search for Unicode codepoints by name. For each match, it scaffolds a blank Compose line for you. You can then paste the line into your Compose file as a starting point to add the multi-key sequence.

For example:

$ compose hundred points
: "πŸ’―"   U1f4af # HUNDRED POINTS SYMBOL

Paste the output into your ~/.XCompose file, then add a multi-key sequence:

<Multi_key> <1> <0> <0> : "πŸ’―"   U1f4af # HUNDRED POINTS SYMBOL

Now you can type Multi 1 0 0 to produce the πŸ’― emoji.

Why?

This utility is for people who write and edit their own Compose files. If you don’t know what a Compose file is, this tool is probably not for you.

Prerequisites

To run this program, you need the following programs installed:

You’ll also need an X server or a Wayland compositor that supports Compose files.

Installation

Installing manually

Clone this repository to any directory you like.

Installing from the AUR

Direct your favorite AUR helper to the compose package.

Contributing to Compose

See CONTRIBUTING.md.

License

Copyright (c) 2024 Claudia Pellegrino

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. For a copy of the License, see LICENSE.

compose's People

Contributors

claui avatar

Stargazers

Matt avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.