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:
parent
e11e7587df
commit
0f7021b528
@ -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'
|
||||||
|
|
||||||
|
@ -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}')
|
||||||
|
@ -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
|
||||||
@ -26,7 +30,7 @@ sudo apt -y --no-install-recommends install docker-ce
|
|||||||
# Install gVisor
|
# Install gVisor
|
||||||
curl -fsSL https://gvisor.dev/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/gvisor-archive-keyring.gpg
|
curl -fsSL https://gvisor.dev/archive.key | sudo gpg --dearmor -o /usr/share/keyrings/gvisor-archive-keyring.gpg
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/gvisor-archive-keyring.gpg] https://storage.googleapis.com/gvisor/releases release main" | sudo tee /etc/apt/sources.list.d/gvisor.list > /dev/null
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/gvisor-archive-keyring.gpg] https://storage.googleapis.com/gvisor/releases release main" | sudo tee /etc/apt/sources.list.d/gvisor.list > /dev/null
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y --no-install-recommends install runsc
|
sudo apt -y --no-install-recommends install runsc
|
||||||
sudo runsc install
|
sudo runsc install
|
||||||
sudo systemctl restart docker
|
sudo systemctl restart docker
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -14,9 +14,13 @@
|
|||||||
# License for the specific language governing permissions and limitations under
|
# License for the specific language governing permissions and limitations under
|
||||||
# the License.
|
# the License.
|
||||||
|
|
||||||
#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
|
||||||
|
Loading…
Reference in New Issue
Block a user