#!/usr/bin/env bash cmd_update="sudo apt update && sudo apt upgrade -y" cmd_install="sudo apt install -y" cmd_autoremove="sudo apt autopurge" sudo echo "# Unstable sources deb http://deb.debian.org/debian/ sid main contrib non-free deb-src http://deb.debian.org/debian/ sid main contrib non-free deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list ${cmd_update} ${cmd_autoremove} # This method doesn't abort the whole apt command if something is missing from the repositories for i in \ firefox \ flatpak \ quassel-client \ virtualbox \ htop \ bleachbit \ timeshift \ flatpak \ bat \ exa \ zsh \ git \ gnupg \ pinentry-curses \ taskwarrior \ fzf \ yadm \ chromium \ zathura \ bpytop \ xcape \ docker \ ufw \ syncthing \ synaptic \ virtualbox-ext-pack \ qutebrowser \ cargo \ build-essential \ flameshot \ ffmpeg \ python3-pip \ mpv \ youtube-dl \ python3-jedi \ libnotify-bin \ chromium \ lolcat \ figlet \ wget \ curl \ yadm \ cmatrix \ apt-file \ breeze-cursor-theme \ python-is-python3 \ python-dev-is-python3 \ deborphan \ ncdu \ gnat \ imagemagick \ mlocate \ netcat \ network-manager-openvpn \ unar \ pandoc \ alsa-utils \ rofi \ zathura-pdf-poppler \ yarn \ wireshark-qt \ vim \ aspell \ aspell-en; \ do ${cmd_install} $i done flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak install -y \ org.fedoraproject.MediaWriter \ com.spotify.Client \ com.discordapp.Discord \ com.tutanota.Tutanota \ org.inkscape.Inkscape \ org.kde.kdenlive \ org.glimpse_editor.Glimpse \ org.gtk.Gtk3theme.Breeze-Dark \ org.audacityteam.Audacity \ org.libreoffice.LibreOffice cargo install \ alacritty \ cargo-update yadm clone git@codeberg.org:armaan/dotfiles mkdir {~/Code,~/Clone,~/Public,~/VMs,~/Temp}