Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeppeklitgaard/barista
A Python and Jsonnet framework for handling espanso configurations
https://github.com/jeppeklitgaard/barista
Last synced: 5 days ago
JSON representation
A Python and Jsonnet framework for handling espanso configurations
- Host: GitHub
- URL: https://github.com/jeppeklitgaard/barista
- Owner: JeppeKlitgaard
- License: mit
- Created: 2021-06-21T17:53:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T14:26:35.000Z (about 1 year ago)
- Last Synced: 2024-12-30T10:57:43.862Z (12 days ago)
- Language: Jsonnet
- Size: 204 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Barista
**Barista** is a tool and substancial collection for leveraging the power of
Unicode and [espanso].Its current state is very much geared towards my personal setup, but this
may be expanded in the future.## Triggers
The main advantage of `barista` is that it implements `pretrigger`s and `posttrigger`s programmatically.
Currently:
| Category | Pretrigger | Posttrigger |
|---------------|------------|-------------|
| Greek letters | `;` | None |
| Digraphs | `,` | ` ` |
| General | `:` | ` ` |## Usage
While `barista` is still a personal pet-project, it should now be accessible
to those well-versed in the Python eco-system.To use it, do:
1. Clone this repository
2. Install `barista` using poetry by running `poetry install`
3. Compile using `barista build` (optionally: look at `--output` option)
4. The compiled configuration files can be found in `./dist` and may be copied
over to the desired folderConfiguration is primarily done in the `config.jsonnet` file.
## Examples
| Example | Output | Comment |
|---------|-------------|------------|
| `;b` | `β` | Greek beta |
| `:st ` | `such that` | |
| `:sansserifbolditaliceta` | `𝞰` | Sans-Serif bold italic eta |[espanso]: https://espanso.org/