-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbemenu.tera
84 lines (72 loc) · 3.82 KB
/
bemenu.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
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/Cloudef/bemenu">bemenu</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/template/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/bemenu?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/template/issues"><img src="https://img.shields.io/github/issues/catppuccin/bemenu?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/template/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/bemenu?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
</p>
<p align="center">
<img src="https://raw.githubusercontent.com/catppuccin/bemenu/main/assets/preview.webp"/>
</p>
## Previews
<details>
<summary>🌻 Latte</summary>
<img src="https://raw.githubusercontent.com/catppuccin/bemenu/main/assets/bemenu-latte.png"/>
</details>
<details>
<summary>🪴 Frappé</summary>
<img src="https://raw.githubusercontent.com/catppuccin/bemenu/main/assets/bemenu-frappe.png"/>
</details>
<details>
<summary>🌺 Macchiato</summary>
<img src="https://raw.githubusercontent.com/catppuccin/bemenu/main/assets/bemenu-macchiato.png"/>
</details>
<details>
<summary>🌿 Mocha</summary>
<img src="https://raw.githubusercontent.com/catppuccin/bemenu/main/assets/bemenu-mocha.png"/>
</details>
## Usage
- Launch from your wm, script or command bemenu adding the desired theme as params:
{% for id, flavor in flavors %}
{%- set palette = flavor.colors -%}
```sh
# {{ flavor.name }}
bemenu-run --fb "#{{ palette.base.hex }}" --ff "#{{ palette.text.hex }}" --nb "#{{ palette.base.hex }}" --nf "#{{ palette.text.hex }}" --tb "#{{ palette.base.hex }}" --hb "#{{ palette.base.hex }}" --tf "#{{ palette.red.hex }}" --hf "#{{ palette.yellow.hex }}" --af "#{{ palette.text.hex }}" --ab "#{{ palette.base.hex }}"
```
{% endfor %}
{% for id, flavor in flavors %}
{%- set palette = flavor.colors -%}
```sh
# {{ flavor.name }}
set $menu bemenu-run --fb "#{{ palette.base.hex }}" --ff "#{{ palette.text.hex }}" --nb "#{{ palette.base.hex }}" --nf "#{{ palette.text.hex }}" --tb "#{{ palette.base.hex }}" --hb "#{{ palette.base.hex }}" --tf "#{{ palette.red.hex }}" --hf "#{{ palette.yellow.hex }}" --af "#{{ palette.text.hex }}" --ab "#{{ palette.base.hex }}"
bindsym $mod+d exec $menu
```
{% endfor %}
{% for id, flavor in flavors %}
{%- set palette = flavor.colors -%}
```sh
# {{ flavor.name }}
export BEMENU_OPTS='--fb "#{{ palette.base.hex }}" --ff "#{{ palette.text.hex }}" --nb "#{{ palette.base.hex }}" --nf "#{{ palette.text.hex }}" --tb "#{{ palette.base.hex }}" --hb "#{{ palette.base.hex }}" --tf "#{{ palette.red.hex }}" --hf "#{{ palette.yellow.hex }}" --af "#{{ palette.text.hex }}" --ab "#{{ palette.base.hex }}"'
```
{% endfor %}
## 💝 Thanks to
- [Iván Ruzo](https://github.com/iruzo)
- [Crony Akatsuki](https://github.com/cronyakatsuki)
<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 © 2022-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>