PeterGrillot
10/24/2017 - 6:24 PM

setting.sh

#!/bin/sh
red=`tput setaf 1`
green=`tput setaf 2`
reset=`tput sgr0`
echo "${green}Installing [Git][Node][Curl][Nginx]${reset}"
sudo apt-get update && apt-get install git curl nginx
echo "${green}Installing [NVM]${red}Close Terminal to Use]${reset}"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
command -v nvm
echo "${green}Instal [Sublime Text 3]${reset}"
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
echo "${green}Install [flux]${reset}"
sudo add-apt-repository ppa:nathan-renniewaldock/flux
sudo apt-get update
sudo apt-get install fluxgui
echo "${green}[Doom]${reset}"
curl -O ~/Downloads/ http://api.dengine.net/1/builds?dl=doomsday_2.0.3_amd64.deb
sudo dpkg -i ~/Downloads/doomsday_2.0.3_amd64.deb && sudo apt-get install -f
echo "${green}Switching Close,Min,Max to Left side${reset}"
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
# Makse sure to run
# sudo chmod u+x my_script.sh 
# reopen `nvm install 8`