]> git.armaanb.net Git - bin.git/commitdiff
update system-setup
authorArmaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me>
Tue, 24 Nov 2020 02:17:09 +0000 (21:17 -0500)
committerArmaan Bhojwani <3fb650a9-b47e-4604-a282-1dd91953b2ee@anonaddy.me>
Tue, 24 Nov 2020 02:17:09 +0000 (21:17 -0500)
  * updated packages to suit what I use now
  * changed formatting
  * added cargo packages

system-setup

index 62fe6427a46801a32929a244c7dd6985e8471da0..c9e6efd7fe71a116a3ff9c08ce3f9a0786e131cf 100755 (executable)
 #!/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}