Improve configs

This commit is contained in:
Tobias Reisinger 2022-10-22 00:58:24 +02:00
parent 91c7ebd467
commit e0b2cc16fb
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 63 additions and 35 deletions

View file

@ -14,7 +14,7 @@ declare -A mapper=(
["starship"]="$HOME/.config/starship.toml"
["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
["vim"]="$HOME/.config/vim/vimrc"
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg"
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg.tpl"
["xprofile"]="$HOME/.xprofile"
["zsh"]="$HOME/.config/zsh/.zshrc"
)

View file

@ -28,6 +28,8 @@ _autoinstall_all () {
envsubst < "$wakatime_tpl" > "$wakatime_cfg"
fi
cp -n "$HOME/.ssh/authorized_keys.default" "$HOME/.ssh/authorized_keys"
_autoinstall_file \
"https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire" \
"$HOME/.local/bin/git-fire"
@ -44,6 +46,9 @@ _autoinstall_all () {
"https://github.com/dracula/qutebrowser.git" \
"$HOME/.config/qutebrowser/dracula"
_autoinstall_git \
"https://github.com/dracula/gtk.git" \
"$HOME/.themes/Dracula"
}
_autoinstall_git () {