Move some scripts to external repo
This commit is contained in:
parent
6a658b2f7c
commit
1e34655bac
6 changed files with 102 additions and 325 deletions
83
.config/autoinstall.toml
Normal file
83
.config/autoinstall.toml
Normal file
|
@ -0,0 +1,83 @@
|
|||
[[autoinstall]]
|
||||
type = "file"
|
||||
source = "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
|
||||
target = "$HOME/.config/vim/autoload/plug.vim"
|
||||
hook = '[ -x "$(command -v vim)" ] && yes | vim +"PlugInstall --sync" +qa --not-a-term'
|
||||
group = "base"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "git"
|
||||
source = "https://github.com/wbthomason/packer.nvim"
|
||||
target = "$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim"
|
||||
hook = '[ -x "$(command -v nvim)" ] && nvim --headless -c "autocmd User PackerComplete quitall" -c "PackerSync"'
|
||||
group = "base"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://github.com/starship/starship/releases/download/v1.17.1/starship-x86_64-unknown-linux-gnu.tar.gz"
|
||||
target = "startship"
|
||||
pipe = "tar xzO"
|
||||
group = "base"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire"
|
||||
target = "git-fire"
|
||||
group = "base"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://github.com/TheLocehiliosan/yadm/raw/master/yadm"
|
||||
target = "yadm"
|
||||
group = "base"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "https://github.com/eza-community/eza/releases/download/v0.17.0/eza_x86_64-unknown-linux-gnu.tar.gz"
|
||||
target = "eza"
|
||||
pipe = "tar xzO"
|
||||
group = "base"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "file"
|
||||
source = "https://raw.githubusercontent.com/dracula/alacritty/master/dracula.toml"
|
||||
target = "$HOME/.config/alacritty/dracula.toml"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "file"
|
||||
source = "https://raw.githubusercontent.com/dracula/duckduckgo/master/monkeyscript.user.js"
|
||||
target = "$HOME/.local/share/qutebrowser/greasemonkey/ddg-dracula.user.js"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "git"
|
||||
source = "https://github.com/dracula/qutebrowser.git"
|
||||
target = "$HOME/.config/qutebrowser/dracula"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "git"
|
||||
source = "https://github.com/dracula/gtk.git"
|
||||
target = "$HOME/.themes/Dracula"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "file"
|
||||
source = "https://github.com/dracula/gtk/releases/download/v3.0/Dracula-cursors.tar.xz"
|
||||
target = "$HOME/.icons/Dracula-cursors"
|
||||
pipe = "tar xJ"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "exe"
|
||||
source = "$(curl -fsSL 'https://data.services.jetbrains.com/products?code=TBA&release.type=release&fields=releases' | jq -r '.[0].releases[0].downloads.linux.link')"
|
||||
target = "jetbrains-toolbox"
|
||||
pipe = "tar xzO"
|
||||
group = "graphical"
|
||||
|
||||
[[autoinstall]]
|
||||
type = "text"
|
||||
source = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCkmWZmum4cVeDy5+9N1HdUzfnjEHSJ900ucD8F0wAy4MV1cdPYnZ4u5PFv5XMfmvA9SJ+VFsr0lhYlr+GQBG9aCCAdMJVVmEz3SccT6dp6ZYywT158RNshzfCe9ylWKK80+W7XnDXhdkec7aK+BQn5wOER3A3mUqRR0JDXWga9jyakH1K6OwXmQOO419bJWs2uCT1ZEgndHxKJEt2pEvoSz7z8p1SS2zyro+R3YtvL9WiDo3+0yPFYficNDr7s39yF5IJE+KTqAlCn5R2+kJ54lRmzB8oNS2jGwK2Q6wtph4AmfnlJTMODG2U2RjUltH2MIDXIYe2epATWL8qhkI4LTr38C7QR3DeJQsel/yTWdYqGakvU6Ge/xkbsaWOrSDTV3bPgKHzlL+dIKaGpV+5usZN4fpOLOb/nmYy3ekLpobzxza7rBRT2CxXS72DoPFaRE1ye7SxhcsLBNwre9YQFE4VvUZwJYkWz2V7eqGrk8VYnmQmT/bnUnMnVwMpeDc7pFKAFndIUxifoOj77c98Tdy3ncdS7SOd7+zRbLG+7k0UU1k89o1+tfREAddUJYR4RvB6g0kCyjpwOf1Pt4zhJR3y/zpsCCc5UnzK9X2kEo/8TSyvTr+GBiFVp5yLYgwCPJSNna33YX7+c3oLRM1QGgtqZk9qnGX9hgP8qpF8Akw== openpgp:0xAB920993"
|
||||
target = "$HOME/.ssh/authorized_keys"
|
||||
group = "ssh"
|
|
@ -28,18 +28,23 @@ _dott_completions()
|
|||
compgen -f "${COMP_WORDS[2]}"
|
||||
fi
|
||||
}
|
||||
complete -o filenames -F _dott_completions ".t"
|
||||
complete -F _dott_completions ".t"
|
||||
|
||||
_autostart_manage_completions()
|
||||
{
|
||||
if [ "${#COMP_WORDS[@]}" == "2" ]; then
|
||||
return
|
||||
fi
|
||||
#_autostart_manage_completions()
|
||||
#{
|
||||
# if [ "${#COMP_WORDS[@]}" == "2" ]; then
|
||||
# return
|
||||
# fi
|
||||
#
|
||||
# COMPREPLY=()
|
||||
# while IFS='' read -r line
|
||||
# do
|
||||
# COMPREPLY+=("$line")
|
||||
# done < <(compgen -W "$(autostart-manage list)" "${COMP_WORDS[1]}")
|
||||
#}
|
||||
#complete -F _autostart_manage_completions "autostart-manage"
|
||||
|
||||
COMPREPLY=()
|
||||
while IFS='' read -r line
|
||||
do
|
||||
COMPREPLY+=("$line")
|
||||
done < <(compgen -W "$(autostart-manage list)" "${COMP_WORDS[1]}")
|
||||
}
|
||||
complete -F _autostart_manage_completions "autostart-manage"
|
||||
for additional_completions in "$XDG_CONFIG_HOME/completionsrc.d/"*; do
|
||||
# shellcheck disable=1090
|
||||
. "$additional_completions"
|
||||
done
|
||||
|
|
|
@ -9,6 +9,7 @@ set +a
|
|||
|
||||
export AUTOSTART_DISPLAY=''
|
||||
|
||||
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME"
|
||||
export BEMENU_OPTS="--tb '#6272a4'\
|
||||
--tf '#f8f8f2'\
|
||||
--fb '#282a36'\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue