diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 4c0faae..2f82e9b 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1170,7 +1170,7 @@ initial_window_height 25c #: The foreground and background colors. # background_opacity 1.0 -background_opacity 0.85 +background_opacity 0.8 #: The opacity of the background. A number between zero and one, where #: one is opaque and zero is fully transparent. This will only work if diff --git a/prepare.sh b/prepare.sh index f15747d..0be2b0c 100644 --- a/prepare.sh +++ b/prepare.sh @@ -40,13 +40,14 @@ if [[ ! -f "$HOME/.zshrc" ]]; then if [[ -f ${DOTFILES}/zsh/antibody_plugins.txt ]]; then # Installing natively on archlinux, manjaro if grep -i archlinux /proc/version || grep -i manjaro /proc/version; then - yay -S --no-confirm antibody-bin + yay -S --no-confirm zsh-antidote else - curl -sfL git.io/antibody | sudo sh -s - -b /usr/local/bin + git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-$HOME}/.antidote fi mkdir -p ~/.zsh/conf.d - antibody bundle < ${DOTFILES}/zsh/antibody_plugins.txt > ~/.zsh/conf.d/000_antibody.zsh + source /usr/share/zsh-antidote/antidote.zsh + antidote bundle < ${DOTFILES}/zsh/antibody_plugins.txt > ~/.zsh/conf.d/000_antidote.zsh fi # Copying tmux configuration file and initialize plugins. diff --git a/vim/ftplugin/nix.vim b/vim/ftplugin/nix.vim new file mode 100644 index 0000000..77c35f4 --- /dev/null +++ b/vim/ftplugin/nix.vim @@ -0,0 +1,3 @@ +" nix specific settings. +set softtabstop=2 +set shiftwidth=2 diff --git a/zsh/antibody_plugins.txt b/zsh/antibody_plugins.txt index d8d6a68..620c39b 100644 --- a/zsh/antibody_plugins.txt +++ b/zsh/antibody_plugins.txt @@ -1,7 +1,6 @@ ohmyzsh/ohmyzsh path:plugins/command-not-found ohmyzsh/ohmyzsh path:plugins/common-aliases ohmyzsh/ohmyzsh path:plugins/copyfile -ohmyzsh/ohmyzsh path:plugins/fd ohmyzsh/ohmyzsh path:plugins/fzf ohmyzsh/ohmyzsh path:plugins/git ohmyzsh/ohmyzsh path:plugins/pip diff --git a/zshrc b/zshrc index b76067e..9cbcd10 100644 --- a/zshrc +++ b/zshrc @@ -18,9 +18,9 @@ if [[ -f ${DOTFILES}/zsh/distro.base.zsh ]]; then source ${DOTFILES}/zsh/distro.base.zsh fi -# Antigen config - if configuration file exists. -if [[ -f ${HOME}/.zsh/antigen.conf.zsh ]]; then - source ${HOME}/.zsh/antigen.conf.zsh +# Loading antidote +if [[ -f /usr/share/zsh-antidote/antidote.zsh ]]; then + source /usr/share/zsh-antidote/antidote.zsh fi # configuring fzf plugin for tmux