2021-11-12 13:46:45 +01:00
|
|
|
if grep "Ubuntu" /proc/version > /dev/null || grep "WSL" /proc/version > /dev/null;
|
|
|
|
then
|
|
|
|
git clone https://git.kennel.ml/Anri/myLinuxConfiguration.git
|
|
|
|
cd myLinuxConfiguration
|
2021-11-12 15:55:49 +01:00
|
|
|
# Update of APT
|
|
|
|
sudo apt update
|
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Fish
|
|
|
|
bash installFish.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install gl4D
|
|
|
|
bash installgl4D.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Latex
|
2021-11-12 15:55:49 +01:00
|
|
|
sudo apt install texlive-full -y
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Java
|
|
|
|
bash installJava.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
if grep "Ubuntu" /proc/version > /dev/null;
|
|
|
|
then
|
|
|
|
# Install Brave
|
|
|
|
bash installBrave.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Uninstall Firefox
|
|
|
|
sudo snap remove firefox && rm -r $HOME/snap/firefox
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Spotify
|
|
|
|
bash installSpotify.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Syncthing
|
|
|
|
bash installSyncthing.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Discord
|
|
|
|
wget -q --show-progress "https://discord.com/api/download?platform=linux&format=deb" -O discord.deb && sudo apt install ./discord.deb -y && rm discord.deb
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Obsidian
|
|
|
|
bash installObsidian.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Flameshot
|
2021-11-12 15:55:49 +01:00
|
|
|
sudo apt install flameshot -y
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Parsec
|
|
|
|
bash installParsec.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install Java
|
|
|
|
bash installJava.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install OnlyOffice
|
|
|
|
bash installOnlyoffice.sh
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Install EmojiPicker and its keyboard shortcut
|
|
|
|
bash installEmojiPicker.sh
|
2021-11-12 13:50:14 +01:00
|
|
|
|
2021-11-12 15:41:38 +01:00
|
|
|
# Setup some others keyboard shortcut
|
|
|
|
bash createKeyboardsShortcut.sh
|
|
|
|
|
2021-11-12 15:55:49 +01:00
|
|
|
# Install clipboard history
|
|
|
|
bash installClipboardHistory.sh
|
|
|
|
|
2021-11-12 13:50:14 +01:00
|
|
|
# info
|
|
|
|
echo ""
|
|
|
|
echo ""
|
2021-11-12 15:55:49 +01:00
|
|
|
echo "Take care, you may need to install manually some others stuff, check the README (and the logs) of"
|
2021-11-12 13:50:14 +01:00
|
|
|
echo "the project => https://git.kennel.ml/Anri/myLinuxConfiguration/src/branch/main/README.md"
|
|
|
|
else # WSL
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "Take care, by default the fish configuration is set for Ubuntu, you may need to comment and uncomment"
|
|
|
|
echo "some of the lines in $HOME/.config/fish/config.fish"
|
2021-11-12 13:46:45 +01:00
|
|
|
fi
|
2021-11-12 13:42:38 +01:00
|
|
|
|
2021-11-12 13:46:45 +01:00
|
|
|
# Supprime le repo
|
|
|
|
cd ..
|
|
|
|
rm -rf myLinuxConfiguration
|
|
|
|
else
|
|
|
|
echo "Your distribution isn't supported."
|
|
|
|
fi
|