Add kitty conf and pash install script
This commit is contained in:
parent
acd00554bd
commit
e252486b2b
|
@ -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
|
|
@ -0,0 +1,25 @@
|
|||
# THEME
|
||||
include dracula.conf
|
||||
|
||||
# FONT
|
||||
font_size 16
|
||||
font_family Fira Code
|
||||
disable_ligatures always
|
||||
|
||||
# TAB BAR
|
||||
# Minimalist:
|
||||
# No bg colors, no styling, no fancy unicode. Just the tab index, the title,
|
||||
# and the active tab indication.
|
||||
tab_bar_style separator
|
||||
tab_separator ""
|
||||
tab_bar_edge top
|
||||
tab_bar_align center
|
||||
tab_bar_margin_width 0.0
|
||||
# Feels as if the tag bar is floating in the *air of squishy satisfying terminal backdrops*
|
||||
tab_bar_margin_height 10.0 10.0
|
||||
# fg is a lighter adjustment of dracula "comment" color - more readable
|
||||
tab_title_template "{bell_symbol}{activity_symbol}{fmt.fg._9cb6d9}{fmt.bg.default} {index}:{f'{title[:9]}…{title[-6:]}' if title.rindex(title[-1]) + 1 > 25 else title} "
|
||||
# fg is dracula white color
|
||||
active_tab_title_template "{bell_symbol}{activity_symbol}{fmt.fg._f8f8f2}{fmt.bg.default} {index}:{f'{title[:9]}…{title[-6:]}' if title.rindex(title[-1]) + 1 > 25 else title} "
|
||||
active_tab_font_style bold
|
||||
inactive_tab_font_style normal
|
|
@ -34,3 +34,5 @@ export PKG_CONFIG_PATH="$HOME/local/lib/x86_64-linux-gnu/pkgconfig:$HOME/local/l
|
|||
|
||||
export NVM_DIR="$HOME/.config/nvm"
|
||||
|
||||
# GPG
|
||||
export PASH_KEYID="F92200AF40D013F0"
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if ! command -v pash &> /dev/null; then
|
||||
echo "installing pash"
|
||||
mkdir -p ~/local/src
|
||||
cd ~/local/src
|
||||
git clone https://github.com/dylanaraps/pash
|
||||
echo "creating symlink"
|
||||
ln -s ~/local/src/pash ~/local/bin/pash
|
||||
echo "done"
|
||||
exit
|
||||
fi
|
||||
echo "upgrading pash"
|
||||
if ! [ -e ~/local/src/pash ]; then
|
||||
echo "ERROR: pash was not cloned at ~/local/src/pash"
|
||||
echo "please update manually"
|
||||
exit 1
|
||||
fi
|
||||
cd ~/local/src/pash
|
||||
git pull
|
||||
echo done!
|
Loading…
Reference in New Issue