Skip to content

Commit

Permalink
Initial scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
esoterra committed Mar 8, 2020
0 parents commit f4eafaf
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
42 changes: 42 additions & 0 deletions app-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#! /bin/bash
upgrade_everyting

# Firefox Setup
firefox about:preferences
read -n 1 -p "Disable 'Ctrl+Tab cycles through tabs in recently used'"
read -n 1 -p "Install Ublock"
read -n 1 -p "Install Disconnect"
firefox https://www.dashlane.com/download &
read -n 1 -p "Install Dashlane"

# PureVPN
read -n 1 -p "Install PureVPN"

# Snap Apps
sudo apt-get install snapd -y

sudo snap install code --classic
echo "Visual Studio Code IDE Installed"
sudo snap install discord
echo "Discord Messaging App Installed"
sudo snap install spotify
echo "Spotify Music App Installed"
sudo snap install insomnia
echo "Insomnia REST Client Installed"

# Other Apps
sudo apt-get install vlc -y
echo "VLC Media Player Installed"

# GIT Key Setup - create a new ssh key, open github)
# firefox https://github.com/settings/keys &
# cat /dev/zero | ssh-keygen -q -N ""
# echo -e "\n\n"
# cat ~/.ssh/id_rsa.pub
# echo -e "\n\n"
# read -n 1 -p "Copy this as your new key to finish Github setup"

upgrade_everything

# Finished
echo "\n\n\nThat's all folks!"
15 changes: 15 additions & 0 deletions bashrc-additions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bindings/bash/powerline.sh
fi

upgrade_everything () {
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get full-upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get clean -y
sudo apt-get autoremove -y
}
21 changes: 21 additions & 0 deletions os-and-shell.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#! /bin/bash

# Powerline (terminal prettiness)
# Get powerline fonts and then the package
sudo apt-get install fonts-powerline -y
sudo apt-get install powerline -y
echo "Powerline Installed"

# Fira Code (fav font)
sudo apt install fonts-firacode -y
read -n 1 -p "In terminal preferences select 'Fira Mono Medium'"
echo "Finished Installing Fonts!"

# Add Powerline and upgrade_everything function to shell
cat ./bashrc-additions.sh >> ~/.bashrc
echo "Added Powerline to .bashrc"
echo "Added upgrade_everything to .bashrc"

# Fix Scrolling Direction
echo "Go to Settings -> Devices -> Mouse & Touchpad"
read -n 1 -p "Enable `Natural Scrolling - Scrolling moves the content, not the view`"

0 comments on commit f4eafaf

Please sign in to comment.