Link dotfiles after install
This commit is contained in:
parent
c089e5e61f
commit
9664de7208
98
install
98
install
@ -1,44 +1,62 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
sudo pacman -Sy \
|
link() {
|
||||||
abook \
|
[ -L "~/.config" ] || return 0
|
||||||
alacritty \
|
|
||||||
ffmpeg \
|
|
||||||
firefox \
|
|
||||||
fzf \
|
|
||||||
git \
|
|
||||||
isync \
|
|
||||||
lynx \
|
|
||||||
mpd \
|
|
||||||
mpv \
|
|
||||||
msmtp \
|
|
||||||
ncmpcpp \
|
|
||||||
neomutt \
|
|
||||||
neovim \
|
|
||||||
newsboat \
|
|
||||||
notmuch \
|
|
||||||
nodejs \
|
|
||||||
npm \
|
|
||||||
pass \
|
|
||||||
pass-otp \
|
|
||||||
playerctl \
|
|
||||||
pulseaudio \
|
|
||||||
python \
|
|
||||||
python-pip \
|
|
||||||
rsync \
|
|
||||||
transmission-cli \
|
|
||||||
ttf-ubuntu-font-family \
|
|
||||||
youtube-dl \
|
|
||||||
wl-clipboard \
|
|
||||||
zathura \
|
|
||||||
zsh \
|
|
||||||
zsh-autosuggestions \
|
|
||||||
zsh-history-substring-search
|
|
||||||
|
|
||||||
[ -d "/usr/share/zsh/plugins/fast-syntax-highlighting" ] || sudo git clone \
|
repo_dir=$(readlink -f $(dirname "$0"))
|
||||||
https://github.com/zdharma/fast-syntax-highlighting \
|
|
||||||
/usr/share/zsh/plugins/fast-syntax-highlighting
|
|
||||||
|
|
||||||
[ -d "/usr/share/zsh/plugins/zsh-vim-mode" ] || sudo git clone \
|
for file in ".profile" ".zprofile" ".config"; do
|
||||||
https://github.com/softmoth/zsh-vim-mode \
|
ln -sf "$repo_dir/$file" "~/$file"
|
||||||
/usr/share/zsh/plugins/zsh-vim-mode
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
sudo pacman -S --needed \
|
||||||
|
abook \
|
||||||
|
alacritty \
|
||||||
|
ffmpeg \
|
||||||
|
firefox \
|
||||||
|
fzf \
|
||||||
|
git \
|
||||||
|
isync \
|
||||||
|
lynx \
|
||||||
|
mpd \
|
||||||
|
mpv \
|
||||||
|
msmtp \
|
||||||
|
ncmpcpp \
|
||||||
|
neomutt \
|
||||||
|
neovim \
|
||||||
|
newsboat \
|
||||||
|
notmuch \
|
||||||
|
nodejs \
|
||||||
|
npm \
|
||||||
|
pass \
|
||||||
|
pass-otp \
|
||||||
|
playerctl \
|
||||||
|
pulseaudio \
|
||||||
|
python \
|
||||||
|
python-pip \
|
||||||
|
rsync \
|
||||||
|
transmission-cli \
|
||||||
|
ttf-ubuntu-font-family \
|
||||||
|
youtube-dl \
|
||||||
|
wl-clipboard \
|
||||||
|
zathura \
|
||||||
|
zsh \
|
||||||
|
zsh-autosuggestions \
|
||||||
|
zsh-history-substring-search
|
||||||
|
|
||||||
|
[ -d "/usr/share/zsh/plugins/fast-syntax-highlighting" ] || sudo git clone \
|
||||||
|
https://github.com/zdharma/fast-syntax-highlighting \
|
||||||
|
/usr/share/zsh/plugins/fast-syntax-highlighting
|
||||||
|
|
||||||
|
[ -d "/usr/share/zsh/plugins/zsh-vim-mode" ] || sudo git clone \
|
||||||
|
https://github.com/softmoth/zsh-vim-mode \
|
||||||
|
/usr/share/zsh/plugins/zsh-vim-mode
|
||||||
|
|
||||||
|
[ -d "/usr/share/themes/Nova" ] || sudo git clone \
|
||||||
|
https://git.vimium.com/jordan/gtk-nova-theme.git \
|
||||||
|
/usr/share/themes/Nova
|
||||||
|
}
|
||||||
|
|
||||||
|
install && link
|
||||||
|
Reference in New Issue
Block a user