Skip to content

mehrabix/kitty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/
mkdir -p ~/.config/kitty/themes/
cp -r ./dist/ ~/.config/kitty/themes/
  • Include theme in kitty.conf
# ~/.config/kitty/kitty.conf

include rose-pine.conf

Check out our functions to toggle theme from shell.

Using kitten

Can be found at kovidgoyal/kitty-themes. Version may differ.

Search kitty themes for Rosé Pine

kitty +kitten themes

Or set theme directly

kitty +kitten themes --reload-in=all Rosé Pine
kitty +kitten themes --reload-in=all Rosé Pine Moon
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.

cp -r ./icons/[email protected] ~/.config/kitty/kitty.app.png

# Or
cp -r ./icons/[email protected] ~/.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

Rosé Pine

Kitty with Rosé Pine

Rosé Pine Moon

Kitty with Rosé Pine Moon

Rosé Pine Dawn

Kitty with Rosé Pine Dawn

Toggle theme from shell

Fish using kitty-themes
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 # <super+l>
Fish with manual includes
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 # <super+l>
ZSH with manual includes
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

Contributing

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

npx @rose-pine/[email protected] -t template.conf

Generated by @rose-pine/[email protected]

About

Soho vibes for kitty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published