Add kitty, alacritty

This commit is contained in:
Hydroxycarbamide 2024-05-13 01:51:41 +02:00
parent 87503b2b9c
commit 5052ae6df0
4 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,26 @@
import = ["/home/eric/.config/alacritty/catppuccin/catppuccin-macchiato.toml", "/home/eric/.config/alacritty/fonts.toml"]
live_config_reload = true
[cursor]
unfocused_hollow = false
[cursor.style]
blinking = "On"
shape = "Block"
[env]
TERM = "alacritty"
WINIT_X11_SCALE_FACTOR = "1.0"
[window]
decorations = "none"
dynamic_title = true
startup_mode = "Windowed"
[window.dimensions]
columns = 82
lines = 25
[window.padding]
x = 13
y = 13

View file

@ -0,0 +1,75 @@
[[colors.indexed_colors]]
color = "#F5A97F"
index = 16
[[colors.indexed_colors]]
color = "#F4DBD6"
index = 17
[colors.bright]
black = "#5B6078"
blue = "#8AADF4"
cyan = "#8BD5CA"
green = "#A6DA95"
magenta = "#F5BDE6"
red = "#ED8796"
white = "#A5ADCB"
yellow = "#EED49F"
[colors.cursor]
cursor = "#F4DBD6"
text = "#24273A"
[colors.dim]
black = "#494D64"
blue = "#8AADF4"
cyan = "#8BD5CA"
green = "#A6DA95"
magenta = "#F5BDE6"
red = "#ED8796"
white = "#B8C0E0"
yellow = "#EED49F"
[colors.hints.end]
background = "#A5ADCB"
foreground = "#24273A"
[colors.hints.start]
background = "#EED49F"
foreground = "#24273A"
[colors.normal]
black = "#494D64"
blue = "#8AADF4"
cyan = "#8BD5CA"
green = "#A6DA95"
magenta = "#F5BDE6"
red = "#ED8796"
white = "#B8C0E0"
yellow = "#EED49F"
[colors.primary]
background = "#24273A"
bright_foreground = "#CAD3F5"
dim_foreground = "#CAD3F5"
foreground = "#CAD3F5"
[colors.search.focused_match]
background = "#A6DA95"
foreground = "#24273A"
[colors.footer_bar]
background = "#A5ADCB"
foreground = "#24273A"
[colors.search.matches]
background = "#A5ADCB"
foreground = "#24273A"
[colors.selection]
background = "#F4DBD6"
text = "#24273A"
[colors.vi_mode_cursor]
cursor = "#B7BDF8"
text = "#24273A"

View file

@ -0,0 +1,14 @@
[font]
size = 11
[font.bold]
family = "FiraCode Nerd Font"
[font.bold_italic]
family = "FiraCode Nerd Font"
[font.italic]
family = "FiraCode Nerd Font"
[font.normal]
family = "FiraCode Nerd Font"

140
.config/kitty/kitty.conf Normal file
View file

@ -0,0 +1,140 @@
# window
window_padding_width 13
confirm_os_window_close 0
enable_audio_bell no
remember_window_size no
initial_window_width 840
initial_window_height 500
hide_window_decorations no
allow_remote_control yes
listen_on unix:/tmp/kitty
enabled_layouts splits
# layouts
## Splits
# Create a new window splitting the space used by the existing one so that
# the two windows are placed one above the other
map f5 launch --location=hsplit
# Create a new window splitting the space used by the existing one so that
# the two windows are placed side by side
map f6 launch --location=vsplit
# Create a new window splitting the space used by the existing one so that
# the two windows are placed side by side if the existing window is wide or
# one above the other if the existing window is tall.
map f4 launch --location=split
# Rotate the current split, changing its split axis from vertical to
# horizontal or vice versa
map f7 layout_action rotate
# Move the active window in the indicated direction
map shift+up move_window up
map shift+left move_window left
map shift+right move_window right
map shift+down move_window down
# Move the active window to the indicated screen edge
map ctrl+shift+up layout_action move_to_screen_edge top
map ctrl+shift+left layout_action move_to_screen_edge left
map ctrl+shift+right layout_action move_to_screen_edge right
map ctrl+shift+down layout_action move_to_screen_edge bottom
# Switch focus to the neighboring window in the indicated direction
map ctrl+left neighboring_window left
map ctrl+right neighboring_window right
map ctrl+up neighboring_window up
map ctrl+down neighboring_window down
# font
font_family FiraCode Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
font_size 11.0
# vim:ft=kitty
## name: Catppuccin Kitty Macchiato
## author: Catppuccin Org
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/macchiato.conf
## blurb: Soothing pastel theme for the high-spirited!
# The basic colors
foreground #CAD3F5
background #24273A
selection_foreground #24273A
selection_background #F4DBD6
# Cursor colors
cursor #F4DBD6
cursor_text_color #24273A
# URL underline color when hovering with mouse
url_color #F4DBD6
# Kitty window border colors
active_border_color #B7BDF8
inactive_border_color #6E738D
bell_border_color #EED49F
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #181926
active_tab_background #C6A0F6
inactive_tab_foreground #CAD3F5
inactive_tab_background #1E2030
tab_bar_background #181926
# Colors for marks (marked text in the terminal)
mark1_foreground #24273A
mark1_background #B7BDF8
mark2_foreground #24273A
mark2_background #C6A0F6
mark3_foreground #24273A
mark3_background #7DC4E4
# The 16 terminal colors
# black
color0 #494D64
color8 #5B6078
# red
color1 #ED8796
color9 #ED8796
# green
color2 #A6DA95
color10 #A6DA95
# yellow
color3 #EED49F
color11 #EED49F
# blue
color4 #8AADF4
color12 #8AADF4
# magenta
color5 #F5BDE6
color13 #F5BDE6
# cyan
color6 #8BD5CA
color14 #8BD5CA
# white
color7 #B8C0E0
color15 #A5ADCB