Skip to content

Commit

Permalink
zsh: add alacritty.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ksauzz committed Mar 26, 2024
1 parent 23ca2fd commit 2157647
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions alacritty.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
shell = "zsh"

[window]
dimensions.columns=180
dimensions.lines=50
opacity = 0.9
blur = true
dynamic_title = true

[keyboard]
bindings=[
{ key = "V", mods= "Alt", action= "Paste" },
{ key = "C", mods= "Alt", action= "Copy" }
]
7 changes: 7 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

set -ue

XDG_CONFIG_HOME=$HOME/.config
ROOT_PATH=$PWD

DOT_FILES=(
Expand Down Expand Up @@ -51,9 +52,15 @@ install_vim_plug() {
fi
}

install_alacritty_conf(){
mkdir -p $XDG_CONFIG_HOME/alacritty
ln -vs "$ROOT_PATH/alacritty.toml" "$XDG_CONFIG_HOME/alacritty/"
}

main() {
git submodule update --init
make_slink
install_alacritty_conf
install_vim_plug
vim -T dumb -c PlugInstall -c ':q' -c ':q'
configure_gitignore
Expand Down

0 comments on commit 2157647

Please sign in to comment.