Skip to content

Commit

Permalink
feat: checking .catppuccin.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostx31 committed Oct 30, 2022
1 parent 81b97ff commit 8c687cd
Show file tree
Hide file tree
Showing 9 changed files with 252 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .catppuccin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# A Catppuccin RC file for Polybar. In beta, specs may change.
app_name: polybar # name of app
binary_name: polybar # name of executably
installation: # Install instructions
location:
macos: ~/.config/polybar/
linux: ~/.config/polybar/

flavours: # Specific flavours
all:
default:
- themes/
latte:
default:
- themes/latte.ini
frappe:
default:
- themes/frappe.ini
macchiato:
default:
- themes/macchiato.ini
mocha:
default:
- themes/mocha.ini
to: # Install location
one_flavour: false # Only one flavour?

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 Catppuccin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<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/polybar/polybar">Polybar</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/polybar/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/polybar?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/polybar/issues"><img src="https://img.shields.io/github/issues/catppuccin/polybar?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/polybar/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/polybar?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
</p>

<p>
<img src="./assets/polybar-edited.png">
</p>

## Usage

1. Download the file with your desired flavour e.g. `mocha.ini` (to be found in the [release](https://github.com/catppuccin/polybar/releases/latest) or after cloning the repository in the `themes` folder)
2. Copy it into your polybar config e.g. `~/.config/polybar`
3. Include the file in your `config.ini` under [global/wm]
- `include-file = $HOME/.config/polybar/colors.ini`
4. When setting colors, use `${colors.COLOR}` e.g. `${colors.base}`

## 🙋 FAQ

- Q: **_"Polybar doesn't work with the colors"_**

A: Make sure you included the file in the right place and you are using `${colors.COLOR}`

## 💝 Thanks to

- [justTOBBI](https://github.com/justTOBBI)

&nbsp;

<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 &copy; 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>
Empty file added assets/.gitkeep
Empty file.
Binary file added assets/polybar-edited.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions themes/frappe.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
;-------------------------
; Catppuccin Frappé Palette
; Maintainer: justTOBBI
;--------------------------

[colors]
base = #303446
mantle = #292c3c
crust = #232634

text = #c6d0f5
subtext0 = #a5adce
subtext1 = #b5bfe2

surface0 = #414559
surface1 = #51576d
surface2 = #626880

overlay0 = #737994
overlay1 = #838ba7
overlay2 = #949cbb


blue = #8caaee
lavender = #babbf1
sapphire = #85c1dc
sky = #99d1db
teal = #81c8be
green = #a6d189
yellow = #e5c890
peach = #ef9f76
maroon = #ea999c
red = #e78284
mauve = #ca9ee6
pink = #f4b8e4
flamingo = #eebebe
rosewater = #f2d5cf

transparent = #FF00000
39 changes: 39 additions & 0 deletions themes/latte.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
;-------------------------
; Catppuccin Latte Palette
; Maintainer: justTOBBI
;--------------------------

[colors]
base = #eff1f5
mantle = #e6e9ef
crust = #dce0e8

text = #4c4f69
subtext0 = #6c6f85
subtext1 = #5c5f77

surface0 = #ccd0da
surface1 = #bcc0cc
surface2 = #acb0be

overlay0 = #9ca0b0
overlay1 = #8c8fa1
overlay2 = #7c7f93


blue = #1e66f5
lavender = #7287fd
sapphire = #209fb5
sky = #04a5e5
teal = #179299
green = #40a02b
yellow = #df8e1d
peach = #fe640b
maroon = #e64553
red = #d20f39
mauve = #8839ef
pink = #ea76cb
flamingo = #dd7878
rosewater = #dc8a78

transparent = #FF00000
39 changes: 39 additions & 0 deletions themes/macchiato.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
;-------------------------
; Catppuccin Macchiato Palette
; Maintainer: justTOBBI
;--------------------------

[colors]
base = #24273a
mantle = #1e2030
crust = #181926

text = #cad3f5
subtext0 = #a5adcb
subtext1 = #b8c0e0

surface0 = #363a4f
surface1 = #494d64
surface2 = #5b6078

overlay0 = #6e738d
overlay1 = #8087a2
overlay2 = #939ab7


blue = #8aadf4
lavender = #b7bdf8
sapphire = #7dc4e4
sky = #91d7e3
teal = #8bd5ca
green = #a6da95
yellow = #eed49f
peach = #f5a97f
maroon = #ee99a0
red = #ed8796
mauve = #c6a0f6
pink = #f5bde6
flamingo = #f0c6c6
rosewater = #f4dbd6

transparent = #FF00000
39 changes: 39 additions & 0 deletions themes/mocha.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
;-------------------------
; Catppuccin Mocha Palette
; Maintainer: justTOBBI
;--------------------------

[colors]
base = #1e1e2e
mantle = #181825
crust = #11111b

text = #cdd6f4
subtext0 = #a6adc8
subtext1 = #bac2de

surface0 = #313244
surface1 = #45475a
surface2 = #585b70

overlay0 = #6c7086
overlay1 = #7f849c
overlay2 = #9399b2


blue = #89b4fa
lavender = #b4befe
sapphire = #74c7ec
sky = #89dceb
teal = #94e2d5
green = #a6e3a1
yellow = #f9e2af
peach = #fab387
maroon = #eba0ac
red = #f38ba8
mauve = #cba6f7
pink = #f5c2e7
flamingo = #f2cdcd
rosewater = #f5e0dc

transparent = #FF00000

1 comment on commit 8c687cd

@sgoudham
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A very important message on a commit

Please sign in to comment.