-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskim.tera
69 lines (54 loc) · 2.89 KB
/
skim.tera
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
whiskers:
version: "2.0.0"
---
<h3 align="center">
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
Catppuccin for <a href="https://github.com/lotabout/skim">skim</a>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
</h3>
<p align="center">
<a href="https://github.com/catppuccin/skim/stargazers"><img src="https://img.shields.io/github/stars/gabrielmagno/skim?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/skim/issues"><img src="https://img.shields.io/github/issues/gabrielmagno/skim?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/skim/contributors"><img src="https://img.shields.io/github/contributors/gabrielmagno/skim?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
</p>
<p align="center">
<img src="./assets/preview.webp"/>
</p>
## Usage
1. Choose one of the flavour palettes below.
2. Copy the corresponding snippet that adds the colors specification to the `SKIM_DEFAULT_OPTIONS` environment variable.
3. Add the snippet to your shell startup script (e.g. `~/.profile`, `~/.bashrc`, `~/.zshrc`, etc).
{%- for id, flavor in flavors -%}
{%- set palette = flavor.colors %}
<details>
{%- if id == "latte" %}
<summary>🌻 Latte</summary>
{%- elif id == "frappe" %}
<summary>🪴 Frappé</summary>
{%- elif id == "macchiato" %}
<summary>🌺 Macchiato</summary>
{%- else %}
<summary>🌿 Mocha</summary>
{%- endif %}
bash/zsh:
```sh
export SKIM_DEFAULT_OPTIONS="$SKIM_DEFAULT_OPTIONS \
--color=fg:#{{palette.text.hex}},bg:#{{palette.base.hex}},matched:#{{palette.surface0.hex}},matched_bg:#{{palette.flamingo.hex}},current:#{{palette.text.hex}},current_bg:#{{palette.surface1.hex}},current_match:#{{palette.base.hex}},current_match_bg:#{{palette.rosewater.hex}},spinner:#{{palette.green.hex}},info:#{{palette.mauve.hex}},prompt:#{{palette.blue.hex}},cursor:#{{palette.red.hex}},selected:#{{palette.maroon.hex}},header:#{{palette.teal.hex}},border:#{{palette.overlay0.hex}}"
```
<img src="assets/{{id}}.webp"/>
</details>
{%- endfor %}
## 💝 Thanks to
- [Gabriel Magno](https://github.com/gabrielmagno)
<p align="center">
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />
</p>
<p align="center">
Copyright © 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
</p>
<p align="center">
<a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>
</p>