Fix icons, add tokyo night theme for kitty

This commit is contained in:
Julien Negrotto 2025-05-20 13:19:21 -05:00
parent 2212e548d2
commit b9ecf18e52
8 changed files with 65 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Name=Kitty
Exec="$HOME/.local/kitty.app/bin/kitty"
Icon="$XDG_DATA_HOME/icons/kitty-whiskers.svg"
Icon=kitty
Type=Application
Categories=Utility

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 592 B

After

Width:  |  Height:  |  Size: 592 B

View File

@ -13,15 +13,15 @@ echo "Installing homebrew dependencies"
brew bundle install
echo "Installing application icons and entries"
icons_dir="$XDG_DATA_HOME/icons/"
mkdir -p "$icons_dir"
cp -f icons/* "$icons_dir"
ln -sf "$PWD/icons" "$XDG_DATA_HOME/icons"
xdg-icon-resource forceupdate
applications_dir="$XDG_DATA_HOME/applications/"
mkdir -p "$applications_dir"
envsubst > "$applications_dir/kitty.desktop" < applications/kitty.desktop
xdg-desktop-menu forceupdate
echo "Creating symlinks"
echo "Creating app configuration symlinks"
ln -sf "$PWD/nvim" "$XDG_CONFIG_HOME/nvim"
ln -sf "$PWD/kitty" "$XDG_CONFIG_HOME/kitty"
ln -sf "$PWD/zsh/zshrc" "$HOME/.zshrc"

View File

@ -2783,3 +2783,5 @@ font_size 12.0
#: }}}
#: }}}
include tokyonight_night.conf

View File

@ -0,0 +1,50 @@
# vim:ft=kitty
## name: Tokyo Night
## license: MIT
## author: Folke Lemaitre
## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf
background #1a1b26
foreground #c0caf5
selection_background #283457
selection_foreground #c0caf5
url_color #73daca
cursor #c0caf5
cursor_text_color #1a1b26
# Tabs
active_tab_background #7aa2f7
active_tab_foreground #16161e
inactive_tab_background #292e42
inactive_tab_foreground #545c7e
#tab_bar_background #15161e
# Windows
active_border_color #7aa2f7
inactive_border_color #292e42
# normal
color0 #15161e
color1 #f7768e
color2 #9ece6a
color3 #e0af68
color4 #7aa2f7
color5 #bb9af7
color6 #7dcfff
color7 #a9b1d6
# bright
color8 #414868
color9 #ff899d
color10 #9fe044
color11 #faba4a
color12 #8db0ff
color13 #c7a9ff
color14 #a4daff
color15 #c0caf5
# extended colors
color16 #ff9e64
color17 #db4b4b

View File

@ -365,7 +365,11 @@ require('lazy').setup({
dependencies = { "nvim-tree/nvim-web-devicons", opt = true },
config = function()
local lualine = require("lualine")
lualine.setup({})
lualine.setup({
options = {
theme = 'tokyonight'
}
})
end,
},
},

View File

@ -27,3 +27,6 @@ export NVM_DIR="$HOME/.nvm"
[[ -f "$HOME/.zsh_aliases" ]] && . "$HOME/.zsh_aliases"
[[ -f "$HOME/.zsh_plugins" ]] && . "$HOME/.zsh_plugins"
[[ -f "$HOME/.zsh_prompt" ]] && . "$HOME/.zsh_prompt"
# completions
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"