add kitty config, install bat

This commit is contained in:
Sloane Perrault 2022-08-02 09:37:46 -04:00
parent 3afc9c1dc5
commit 23b9ea01d1
6 changed files with 145 additions and 0 deletions

View file

@ -4,6 +4,7 @@ brew "neovim"
brew "tmux" brew "tmux"
brew "zoxide" brew "zoxide"
brew "exa" brew "exa"
brew "bat"
brew "wxwidgets" brew "wxwidgets"
cask "firefox" cask "firefox"
@ -14,3 +15,4 @@ cask "fantastical"
cask "unnaturalscrollwheels" cask "unnaturalscrollwheels"
cask "slack" cask "slack"
cask "superduper" cask "superduper"
cask "homebrew/cask-fonts/font-victor-mono-nerd-font"

View file

@ -248,6 +248,45 @@
} }
} }
} }
},
"bat": {
"version": "0.21.0",
"bottle": {
"rebuild": 0,
"root_url": "https://ghcr.io/v2/homebrew/core",
"files": {
"arm64_monterey": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/bat/blobs/sha256:c2e582eafc63d7242af612bb069f3686ece8828c239232ceb15fa91b374930f9",
"sha256": "c2e582eafc63d7242af612bb069f3686ece8828c239232ceb15fa91b374930f9"
},
"arm64_big_sur": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/bat/blobs/sha256:9a8a80443ce88c0aee5f734a2c59707c5de6713e88d7054d7791c10130beec0f",
"sha256": "9a8a80443ce88c0aee5f734a2c59707c5de6713e88d7054d7791c10130beec0f"
},
"monterey": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/bat/blobs/sha256:c7e28f20c861c79ad3d696f597af3bf153a4eccad92968c1b0cbd96edaa83ed5",
"sha256": "c7e28f20c861c79ad3d696f597af3bf153a4eccad92968c1b0cbd96edaa83ed5"
},
"big_sur": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/bat/blobs/sha256:54b82450955087f9029f74a1d816cc8e099357f926fffd4f9e867e15949be2cc",
"sha256": "54b82450955087f9029f74a1d816cc8e099357f926fffd4f9e867e15949be2cc"
},
"catalina": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/bat/blobs/sha256:74e48f3a0081f5fe07b7eef3c9f9a4efffbc58e1b682530ad3f4a33a5717e4fd",
"sha256": "74e48f3a0081f5fe07b7eef3c9f9a4efffbc58e1b682530ad3f4a33a5717e4fd"
},
"x86_64_linux": {
"cellar": ":any_skip_relocation",
"url": "https://ghcr.io/v2/homebrew/core/bat/blobs/sha256:ca0aafc35b964b69f3497cacc5612fe606c5a0205d0b887ff7ddd94b1ca62fea",
"sha256": "ca0aafc35b964b69f3497cacc5612fe606c5a0205d0b887ff7ddd94b1ca62fea"
}
}
}
} }
}, },
"cask": { "cask": {
@ -298,6 +337,12 @@
"options": { "options": {
"full_name": "superduper" "full_name": "superduper"
} }
},
"font-victor-mono-nerd-font": {
"version": "2.1.0",
"options": {
"full_name": "homebrew/cask-fonts/font-victor-mono-nerd-font"
}
} }
} }
}, },

View file

@ -3,6 +3,7 @@
SETUVAR --export BAT_THEME:Dracula SETUVAR --export BAT_THEME:Dracula
SETUVAR --export EDITOR:nvim SETUVAR --export EDITOR:nvim
SETUVAR --export ERL_AFLAGS:\x2dkernel\x20shell_history\x20enabled SETUVAR --export ERL_AFLAGS:\x2dkernel\x20shell_history\x20enabled
SETUVAR __fish_initialized:3400
SETUVAR _fish_abbr_cat:bat SETUVAR _fish_abbr_cat:bat
SETUVAR _fish_abbr_g:git SETUVAR _fish_abbr_g:git
SETUVAR _fish_abbr_ga:git\x20add SETUVAR _fish_abbr_ga:git\x20add
@ -53,3 +54,4 @@ SETUVAR fish_pager_color_completion:\x1d
SETUVAR fish_pager_color_description:B3A06D\x1eyellow SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr

19
.config/kitty/diff.conf Normal file
View file

@ -0,0 +1,19 @@
foreground #f8f8f2
background #282a36
title_fg #f8f8f2
title_bg #282a36
margin_bg #6272a4
margin_fg #44475a
removed_bg #ff5555
highlight_removed_bg #ff5555
removed_margin_bg #ff5555
added_bg #50fa7b
highlight_added_bg #50fa7b
added_margin_bg #50fa7b
filler_bg #44475a
hunk_margin_bg #44475a
hunk_bg #bd93f9
search_bg #8be9fd
search_fg #282a36
select_bg #f1fa8c
select_fg #282a36

View file

@ -0,0 +1,66 @@
# https://draculatheme.com/kitty
#
# Installation instructions:
#
# cp dracula.conf ~/.config/kitty/
# echo "include dracula.conf" >> ~/.config/kitty/kitty.conf
#
# Then reload kitty for the config to take affect.
# Alternatively copy paste below directly into kitty.conf
foreground #f8f8f2
background #282a36
selection_foreground #ffffff
selection_background #44475a
url_color #8be9fd
# black
color0 #21222c
color8 #6272a4
# red
color1 #ff5555
color9 #ff6e6e
# green
color2 #50fa7b
color10 #69ff94
# yellow
color3 #f1fa8c
color11 #ffffa5
# blue
color4 #bd93f9
color12 #d6acff
# magenta
color5 #ff79c6
color13 #ff92df
# cyan
color6 #8be9fd
color14 #a4ffff
# white
color7 #f8f8f2
color15 #ffffff
# Cursor colors
cursor #f8f8f2
cursor_text_color background
# Tab bar colors
active_tab_foreground #282a36
active_tab_background #f8f8f2
inactive_tab_foreground #282a36
inactive_tab_background #6272a4
# Marks
mark1_foreground #282a36
mark1_background #ff5555
# Splits/Windows
active_border_color #f8f8f2
inactive_border_color #6272a4

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

@ -0,0 +1,11 @@
font_size 18.0
font_family VictorMono Nerd Font
bold_font auto
italic_font auto
bold_italic_font auto
disable_ligatures always
confirm_os_window_close 0
include dracula.conf