From 215764769aea1fb74bb5d2a0239490c374dddaac Mon Sep 17 00:00:00 2001 From: Kazuhiro Suzuki Date: Tue, 26 Mar 2024 19:19:31 +0900 Subject: [PATCH] zsh: add alacritty.toml --- alacritty.toml | 14 ++++++++++++++ install | 7 +++++++ 2 files changed, 21 insertions(+) create mode 100644 alacritty.toml diff --git a/alacritty.toml b/alacritty.toml new file mode 100644 index 0000000..4dcb345 --- /dev/null +++ b/alacritty.toml @@ -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" } +] diff --git a/install b/install index 9c5f9ad..c52219b 100755 --- a/install +++ b/install @@ -3,6 +3,7 @@ set -ue +XDG_CONFIG_HOME=$HOME/.config ROOT_PATH=$PWD DOT_FILES=( @@ -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