1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-09 11:41:33 -05:00

Fancy blue output highlighting

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-12-01 19:54:20 -07:00
parent e11e7587df
commit 0f7021b528
No known key found for this signature in database
GPG Key ID: D30DEC268D3FEB17
8 changed files with 34 additions and 2 deletions

View File

@ -16,6 +16,10 @@
#Run this as your user to set the theme #Run this as your user to set the theme
output(){
echo -e '\e[36m'$1'\e[0m';
}
#Enable Titlebar buttons #Enable Titlebar buttons
gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close' gsettings set org.gnome.desktop.wm.preferences button-layout 'appmenu:minimize,maximize,close'

View File

@ -18,6 +18,10 @@
#Customize it to your liking #Customize it to your liking
#Run this script as your admin user, NOT root #Run this script as your admin user, NOT root
output(){
echo -e '\e[36m'$1'\e[0m';
}
#Variables #Variables
USER=$(whoami) USER=$(whoami)
PARTITIONID=$(sudo cat /etc/crypttab | awk '{print $1}') PARTITIONID=$(sudo cat /etc/crypttab | awk '{print $1}')

View File

@ -16,6 +16,10 @@
#Run this after GCP-Debian-11.sh #Run this after GCP-Debian-11.sh
output(){
echo -e '\e[36m'$1'\e[0m';
}
# Install Docker # Install Docker
sudo mkdir -m 0755 -p /etc/apt/keyrings sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

View File

@ -14,6 +14,10 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
output(){
echo -e '\e[36m'$1'\e[0m';
}
# Setup NTS # Setup NTS
sudo rm -rf /etc/chrony/chrony.conf sudo rm -rf /etc/chrony/chrony.conf
sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf

View File

@ -16,6 +16,10 @@
# You need to add either the non-subscription repo or the testing repo from the Proxmox WebUI after running this script. # You need to add either the non-subscription repo or the testing repo from the Proxmox WebUI after running this script.
output(){
echo -e '\e[36m'$1'\e[0m';
}
# Setup NTS # Setup NTS
rm -rf /etc/chrony/chrony.conf rm -rf /etc/chrony/chrony.conf
curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony/chrony.conf

View File

@ -16,6 +16,10 @@
#Assuming that you are using ANSSI-BP-028 #Assuming that you are using ANSSI-BP-028
output(){
echo -e '\e[36m'$1'\e[0m';
}
# Setup NTS # Setup NTS
sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf

View File

@ -17,6 +17,10 @@
#Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead #Please note that this is how I PERSONALLY setup my computer - I do some stuff such as not using anything to download GNOME extensions from extensions.gnome.org and installing the extensions as a package instead
##The script assumes you already have Ubuntu Pro activated ##The script assumes you already have Ubuntu Pro activated
output(){
echo -e '\e[36m'$1'\e[0m';
}
#Compliance and updates #Compliance and updates
sudo ua enable usg sudo ua enable usg
sudo apt update -y sudo apt update -y

View File

@ -17,6 +17,10 @@
#Meant to be run on Ubuntu Pro Minimal #Meant to be run on Ubuntu Pro Minimal
#The script assumes you already have Ubuntu Pro activated #The script assumes you already have Ubuntu Pro activated
output(){
echo -e '\e[36m'$1'\e[0m';
}
#Compliance and updates #Compliance and updates
sudo ua enable usg sudo ua enable usg
sudo apt update -y sudo apt update -y