Fix telegram autostart

Add vimod to dotfile setup
This commit is contained in:
Robin C. 2025-01-09 04:41:04 +01:00
parent 8e02f6c751
commit a699fb4d2a
2 changed files with 13 additions and 3 deletions

View File

@ -42,7 +42,7 @@ git config --global user.email "$GIT_EMAIL"
# Adding pacman repo # Adding pacman repo
echo echo
echo "Adding pacman repo..." 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 # Make sure we're up to date
echo echo
@ -136,7 +136,7 @@ mkdir -p ~/.vim
touch ~/.vim/vimrc touch ~/.vim/vimrc
# Albert # 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 sudo zypper --non-interactive install albert
# Albert Autostart # Albert Autostart
@ -169,7 +169,7 @@ cat <<EOF > "$XDG_CONFIG_HOME/autostart/org.telegram.desktop"
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Name=Telegram Name=Telegram
Exec=telegram-desktop -autostart Exec=telegram-desktop -startintray
Icon=telegram Icon=telegram
EOF EOF

View File

@ -54,3 +54,13 @@ ln -sf $SCRIPT_DIR/alacritty/hezkore.toml $XDG_CONFIG_HOME/alacritty/hezkore.tom
# OVERWRITE alacritty.toml # OVERWRITE alacritty.toml
echo '[general]' > $XDG_CONFIG_HOME/alacritty/alacritty.toml echo '[general]' > $XDG_CONFIG_HOME/alacritty/alacritty.toml
echo 'import = [ "./hezkore.toml" ]' >> $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