An open API service indexing awesome lists of open source software.

https://github.com/rose-pine/kitty

Soho vibes for kitty
https://github.com/rose-pine/kitty

kitty rose-pine soho-vibes terminal terminal-emulator theme

Last synced: about 1 month ago
JSON representation

Soho vibes for kitty

Awesome Lists containing this project

README

          



Rosé Pine for kitty

All natural pine, faux fur and a bit of soho vibes for the classy minimalist





## Usage

### Manual

- Move one or more `rose-pine{-dawn,-moon}.conf` to `~/.config/kitty/`

```sh
mkdir -p ~/.config/kitty/themes/
cp -r ./dist/ ~/.config/kitty/themes/
```

- Include theme in `kitty.conf`

```conf
# ~/.config/kitty/kitty.conf

include rose-pine.conf
```

Check out our functions to [toggle theme from shell](#toggle-theme-from-shell).

### Using kitten

> Can be found at [kovidgoyal/kitty-themes](https://github.com/kovidgoyal/kitty-themes). Version may differ.

Search kitty themes for Rosé Pine

```sh
kitty +kitten themes
```

Or set theme directly

```sh
kitty +kitten themes --reload-in=all Rosé Pine
```

```sh
kitty +kitten themes --reload-in=all Rosé Pine Moon
```

```sh
kitty +kitten themes --reload-in=all Rosé Pine Dawn
```

## Change app icon

> Docs are at https://sw.kovidgoyal.net/kitty/faq/#i-do-not-like-the-kitty-icon

Place an included icon from`/icons` in your config location.

```sh
cp -r ./icons/kitty.app@2x.png ~/.config/kitty/kitty.app.png

# Or
cp -r ./icons/terminal.app@2x.png ~/.config/kitty/kitty.app.png
```

| rose-pine-kitty-icon.png | rose-pine-terminal-icon.png |
| :-----------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Kitty application icon featuring a winking cat atop a colourful big-sur style gradient background. | Kitty application icon featuring a playful, robot-like television atop a colourful big-sur style gradient background. |

## Gallery

Fetch featured below is [NerdFetch](https://github.com/thatonecalculator/nerdfetch)

**Rosé Pine**

![Kitty with Rosé Pine](https://imgur.com/HDzxDrM.png)

**Rosé Pine Moon**

![Kitty with Rosé Pine Moon](https://imgur.com/lmudsjR.png)

**Rosé Pine Dawn**

![Kitty with Rosé Pine Dawn](https://imgur.com/6Wy8nUr.png)

## Toggle theme from shell

Fish using kitty-themes

```fish
function toggle-theme
if [ "$THEME" = "Rosé Pine" ]
set -U THEME "Rosé Pine Dawn"
else
set -U THEME "Rosé Pine"
end

kitty +kitten themes --reload-in=all $THEME

end

# Optionally toggle via keybind

bind \e\[108\;9u toggle-theme #

````

Fish with manual includes

```fish
function toggle-theme
set current_theme (awk '$1=="include" {print $2}' "$HOME/.config/kitty/kitty.conf")
set new_theme "rose-pine.conf"

if [ "$current_theme" = "rose-pine.conf" ]
set new_theme "rose-pine-dawn.conf"
end

# Set theme for active sessions. Requires `allow_remote_control yes`
kitty @ set-colors --all --configured "~/.config/kitty/$new_theme"

# Update config for persistence
sed -i '' -e "s/include.*/include $new_theme/" "$HOME/.config/kitty/kitty.conf"
end

# Optionally toggle via keybind
bind \e\[108\;9u toggle-theme #
````

ZSH with manual includes

```sh
function toggle-theme() {
current_theme=$(awk '$1=="include" {print $2}' "$HOME/.config/kitty/kitty.conf")
new_theme="rose-pine.conf"

if [ "$current_theme" = "rose-pine.conf" ]; then
new_theme="rose-pine-dawn.conf"
fi

# Set theme for active sessions. Requires `allow_remote_control yes`
kitty @ set-colors --all --configured "~/.config/kitty/$new_theme"

# Update config for persistence
sed -i '' -e "s/include.*/include $new_theme/" "$HOME/.config/kitty/kitty.conf"
}
```

## Thanks to

- [ThatOneCalculator](https://github.com/thatonecalculator)
- [edunfelt](https://github.com/edunfelt)

## Contributing

Modify `template.conf` using Rosé Pine variables, then build variants:

```sh
npx @rose-pine/build@0.8.1 -t template.conf
```

_Generated by [@rose-pine/build@0.8.1](https://github.com/rose-pine/build)_