This repository has been archived on 2026-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dotfiles-inist/.scripts/install.sh
2025-02-12 10:05:19 +01:00

113 lines
5.3 KiB
Bash
Executable File

sudo add-apt-repository ppa:flatpak/stable
sudo apt update -y
sudo apt install -y gpg ca-certificates curl wget flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
echo "⏬ flatpak prepared\n"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/custom/themes/powerlevel10k
git clone --depth=1 https://github.com/marlonrichert/zsh-autocomplete.git $HOME/.oh-my-zsh/custom/plugins/zsh-autocomplete
git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
echo "💻 zsh prepared\n"
git clone --depth 1 https://github.com/junegunn/fzf.git $HOME/.fzf
$HOME/.fzf/install
echo "💻 fzf installed\n"
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
echo "💻 zoxide installed\n"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
echo "💻 nvm installed\n"
sudo mkdir -p /etc/apt/keyrings
wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list
sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
echo "💻 eza prepared\n"
CURLIE_VER=1.7.2
curl -o "curlie_${CURLIE_VER}_linux_amd64.deb" "https://github.com/rs/curlie/releases/download/v${CURLIE_VER}/curlie_${CURLIE_VER}_linux_amd64.deb"
sudo dpkg -i "curlie_${CURLIE_VER}_linux_amd64.deb"
rm "curlie_${CURLIE_VER}_linux_amd64.deb"
echo "💻 curlie installed\n"
curl -o "${HOME}/bin/jq" "https://github.com/jqlang/jq/releases/latest/download/jq-linux-amd64"
chmod +x "${HOME}/bin/jq"
echo "💻 jq installed\n"
curl -o "${HOME}/bin/prettyping" "https://raw.githubusercontent.com/denilsonsa/prettyping/master/prettyping"
chmod +x "${HOME}/bin/prettyping"
echo "📈 prettyping installed\n"
curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
echo "📈 lazydocker installed\n"
curl -o "${HOME}/bin/greenclip" https://github.com/erebe/greenclip/releases/download/v4.2/greenclip
chmod +x "${HOME}/bin/greenclip"
echo "💻 greenclip installed \n"
pipx install --user rofimoji
echo "💻 rofimoji installed \n"
sudo apt update -y
sudo apt install -y zsh eza bat duf btop gpick xss-lock
echo "💻 zsh, eza, bat, duf, btop, gpick installed\n"
wget -qO - https://regolith-desktop.org/regolith.key | gpg --dearmor | sudo tee /usr/share/keyrings/regolith-archive-keyring.gpg > /dev/null
echo deb "[arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://regolith-desktop.org/release-3_0-ubuntu-jammy-amd64 jammy main" | sudo tee /etc/apt/sources.list.d/regolith.list
sudo apt update -y
sudo apt install -y regolith-desktop regolith-session-flashback regolith-look-lascaille
echo "💻 regolith installed\n"
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
rm -f packages.microsoft.gpg
sudo apt install -y apt-transport-https
echo "📄 vscode prepared\n"
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
echo "💻 docker prepared\n"
sudo apt update -y
sudo apt install -y code docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
echo "💻📄 vscode, docker installed\n"
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
echo "💻 docker configured\n"
flatpak install flathub org.mozilla.Thunderbird
echo "📧 thunderbird installed\n"
bash -c "$(curl -sLo- https://superfile.netlify.app/install.sh)"
echo "📁 superfile installed\n"
# VIVALDI_VER=6.5.3206.57-1
# curl -o "vivaldi-stable_${VIVALDI_VER}_amd64.deb" "https://downloads.vivaldi.com/stable/vivaldi-stable_${VIVALDI_VER}_amd64.deb"
# sudo dpkg -i "vivaldi-stable_${VIVALDI_VER}_amd64.deb"
# rm "vivaldi-stable_${VIVALDI_VER}_amd64.deb"
# echo "🌐 vivaldi installed\n"
# CONTOUR_VER=0.4.3.6442
# curl -o "contour-${CONTOUR_VER}-ubuntu20.04-amd64.deb" "https://github.com/contour-terminal/contour/releases/download/v${CONTOUR_VER}/contour-${CONTOUR_VER}-ubuntu20.04-amd64.deb"
# sudo dpkg -i "contour-${CONTOUR_VER}-ubuntu20.04-amd64.deb"
# rm "contour-${CONTOUR_VER}-ubuntu20.04-amd64.deb"
# sudo apt install -y "libqt5-*"
# sudo apt install -y "qml-module-*"
# sudo apt remove -y "qml-module-org-kde*"
# sudo apt autoremove -y
# echo "💻 contour installed\n"
echo "Still need to build:\n"
echo "- rofi"
echo "- polybar"
echo "- i3lock"
echo "- dunst"
echo "- ugrep"