#!/usr/bin/env bash
## Removendo travas eventuais do apt ##
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/apt/lists/*
## Atualizando o repositório ignorando erros, comum no mint ##
sudo apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update
## PPAs e instalação brave ##
sudo apt install apt-transport-https curl -y
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg & echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
## PPAs DRIVES necessárias ## # ubuntu tweak # smplayer # ppa cpu-g
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo add-apt-repository ppa:gerardpuig/ppa
sudo add-apt-repository ppa:rvm/smplayer
sudo add-apt-repository ppa:atareao/atareao
## Atualizando O SISTEMA para instalar as coisas ##
sudo apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update & sudo apt-get upgrade
## INSTALANDDO AS PARADAS ##
## CONFIGURADORES ## gsmartcontrol
sudo apt install numlockx diodon plank -y
sudo apt install folder-color-caja caja-rename caja-share -y
sudo apt install conky ubuntu-cleaner cpuinfo cpu-g gparted stacer samba grub-customizer bleachbit -y
## IMAGEM, VIDEOS, PLUGINS E AIFNS ##
sudo apt install gimp gimp-data-extras gimp-plugin-registry ttf-mscorefonts-installer calibre mencoder -y
sudo apt install openshot kdenlive ubuntu-restricted-extras -y
sudo apt install smplayer smplayer-themes smplayer-skins audacity audacious vokoscreen inkscape winff mpv -y
## INTERNET ##
sudo apt install brave-browser qbittorrent -y
sudo apt install linssid wifite traceroute mtr -y
## GAMES ##
sudo apt install minecraft-launcher -y
## REMOVENEDO o LIXO ANTERIOR, DEIXANDO A CASA LIMPA ##
# REMOVER ESSE APP QUE VEIO JUNTO COM OUTROS #
sudo apt remove transmission* hexchat* thunderbird* rhythmbox* hypnotix* compiz* -y
sudo apt remove smtube -y
# -------------------------------------------------------------------------- #
# ----------------------------- PÓS-INSTALAÇÃO ----------------------------- #
## Finalização, atualização e limpeza ##
sudo apt autoclean -y
sudo apt autoremove -y
# ---------------------------------------------------------------------- #