From ff584cba269dc6508932642834f78e9212264e6f Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me> Date: Mon, 23 Nov 2020 21:17:09 -0500 Subject: [PATCH] update system-setup * updated packages to suit what I use now * changed formatting * added cargo packages --- system-setup | 103 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 94 insertions(+), 9 deletions(-) diff --git a/system-setup b/system-setup index 62fe642..c9e6efd 100755 --- a/system-setup +++ b/system-setup @@ -1,17 +1,102 @@ #!/usr/bin/env bash -update="apt update && apt upgrade -y" -install="apt install -y" -autoremove="apt autopurge" +cmd_update="sudo apt update && sudo apt upgrade -y" +cmd_install="sudo apt install -y" +cmd_autoremove="sudo apt autopurge" -${update} -${autoremove} +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 -for i in neovim nvim firefox-esr flatpak quassel-client virtualbox htop bleachbit timeshift flatpak bat batcat exa zsh git gnupg pinentry-console alacritty taskwarrior tasks task fzf yadu chromium vlc zathura libreoffice-writer libreoffice-calc bpytop xcape docker ufw syncthing synaptic virtualbox-ext-pack; do - sudo "${install}" $i +${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 spotify discord tutanota +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,~/Virtual} +mkdir {~/Code,~/Clone,~/Public,~/VMs,~/Temp} -- 2.39.2