diff --git a/opensuse/setup.sh b/opensuse/setup.sh index 7926e01..4001ec7 100755 --- a/opensuse/setup.sh +++ b/opensuse/setup.sh @@ -42,7 +42,7 @@ git config --global user.email "$GIT_EMAIL" # Adding pacman repo echo echo "Adding pacman repo..." -sudo zypper --non-interactive --gpg-auto-import-keys addrepo --refresh -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/' packman +sudo zypper --non-interactive --gpg-auto-import-keys addrepo -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/' packman # Make sure we're up to date echo @@ -136,7 +136,7 @@ mkdir -p ~/.vim touch ~/.vim/vimrc # Albert -sudo zypper --non-interactive --gpg-auto-import-keys addrepo --refresh -cf https://download.opensuse.org/repositories/home:manuelschneid3r/openSUSE_Tumbleweed/home:manuelschneid3r.repo +sudo zypper --non-interactive --gpg-auto-import-keys addrepo -cf https://download.opensuse.org/repositories/home:manuelschneid3r/openSUSE_Tumbleweed/home:manuelschneid3r.repo sudo zypper --non-interactive install albert # Albert Autostart @@ -169,7 +169,7 @@ cat < "$XDG_CONFIG_HOME/autostart/org.telegram.desktop" [Desktop Entry] Type=Application Name=Telegram -Exec=telegram-desktop -autostart +Exec=telegram-desktop -startintray Icon=telegram EOF diff --git a/setup.sh b/setup.sh index 9e8379c..f8599f9 100755 --- a/setup.sh +++ b/setup.sh @@ -54,3 +54,13 @@ ln -sf $SCRIPT_DIR/alacritty/hezkore.toml $XDG_CONFIG_HOME/alacritty/hezkore.tom # OVERWRITE alacritty.toml echo '[general]' > $XDG_CONFIG_HOME/alacritty/alacritty.toml echo 'import = [ "./hezkore.toml" ]' >> $XDG_CONFIG_HOME/alacritty/alacritty.toml + +# Vim +echo +echo "Applying Vim dotfile..." +mkdir -p ~/.vim +touch ~/.vim/vimrc +rm -rf ~/.vim/vimod +git clone https://github.com/hezkore/vimod.git ~/.vim/vimod +echo 'runtime vimod/vimod.vim' > ~/.vim/vimrc +echo 'VIModKeys' >> ~/.vim/vimrc