Fix telegram autostart
Add vimod to dotfile setup
This commit is contained in:
parent
8e02f6c751
commit
a699fb4d2a
@ -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 <<EOF > "$XDG_CONFIG_HOME/autostart/org.telegram.desktop"
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Telegram
|
||||
Exec=telegram-desktop -autostart
|
||||
Exec=telegram-desktop -startintray
|
||||
Icon=telegram
|
||||
EOF
|
||||
|
||||
|
10
setup.sh
10
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user