2018-12-22 20:17:54 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Because Git submodule commands cannot operate without a work tree, they must
|
|
|
|
# be run from within $HOME (assuming this is the root of your dotfiles)
|
|
|
|
cd "$HOME"
|
|
|
|
|
2020-02-27 14:55:48 -05:00
|
|
|
#echo "Init submodules"
|
|
|
|
#yadm submodule update --recursive --init
|
2018-12-22 20:17:54 -05:00
|
|
|
|
2020-02-27 14:55:48 -05:00
|
|
|
echo "Install a few things:"
|
|
|
|
mkdir "$HOME/bin"
|
|
|
|
echo "+ ZIM"
|
2020-11-12 23:48:33 -05:00
|
|
|
rm -f ".zimrc" ".zlogin" ".zshenv" ".zshrc"
|
2020-02-27 14:55:48 -05:00
|
|
|
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
|
2020-11-12 23:38:18 -05:00
|
|
|
yadm checkout -- "$HOME/.zimrc"
|
|
|
|
yadm checkout -- "$HOME/.zlogin"
|
|
|
|
yadm checkout -- "$HOME/.zshrc"
|
2020-11-12 23:48:33 -05:00
|
|
|
zimfw install
|
2020-02-27 14:55:48 -05:00
|
|
|
echo "+ TMux Plugin Manager"
|
|
|
|
mkdir -p "$HOME/.tmux/plugins"
|
|
|
|
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
|
|
|
|
echo "+ SpaceVim"
|
2020-02-27 17:51:47 -05:00
|
|
|
curl -sLf https://spacevim.org/install.sh | bash
|
2019-01-02 07:06:38 -05:00
|
|
|
|
2020-02-27 17:51:47 -05:00
|
|
|
if [[ -f /etc/os-release ]]; then
|
2020-02-27 14:55:48 -05:00
|
|
|
source /etc/os-release
|
|
|
|
|
|
|
|
if [[ "$ID" == "linuxmint" ]]; then
|
|
|
|
gsettings set org.cinnamon.desktop.keybindings.wm activate-window-menu '[]'
|
|
|
|
gsettings set org.cinnamon.desktop.keybindings.wm switch-group '[]'
|
|
|
|
fi
|
2019-01-02 07:06:38 -05:00
|
|
|
fi
|
|
|
|
|