Skip to content

Eric-Song-Nop/dotfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eric's Dotfiles

This is where I put all my important config files.

Actively used configs

Other useful tools

Less active

Usage

Adaptive color for kitty

## Add to $HOME/.config/ags/scripts/color_generation/colorgen.sh
apply_kitty() {
    # Check if scripts/templates/kitty/kitty.ini exists
    if [ ! -f "scripts/templates/kitty/kitty_color.conf" ]; then
        echo "Template file not found for Kitty. Skipping that."
        return
    fi
    # Copy template
    cp "scripts/templates/kitty/kitty_color.conf" "$HOME/.config/kitty/kitty_color_new.conf"
    # Apply colors
    for i in "${!colorlist[@]}"; do
        sed -i "s/${colorlist[$i]} #/${colorvalues[$i]}/g" "$HOME/.config/kitty/kitty_color_new.conf" # note: ff because theyre opaque
    done
    cp "$HOME/.config/kitty/kitty_color_new.conf" "$HOME/.config/kitty/kitty_color.conf"
}

apply_kitty

Lunarvim

bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)

ZSH

# append to zshrc
eval "$(starship init zsh)"