Skip to content

Instantly share code, notes, and snippets.

@hl2guide
Last active September 7, 2022 09:20
Show Gist options
  • Select an option

  • Save hl2guide/0b87bc7bb6b72495e1c49bd9750e0c9c to your computer and use it in GitHub Desktop.

Select an option

Save hl2guide/0b87bc7bb6b72495e1c49bd9750e0c9c to your computer and use it in GitHub Desktop.
#!/bin/bash
# Check if Script is Run as Root
if [[ $EUID -ne 0 ]]; then
echo "You must be a root user to run this script, please run sudo ./fedora_customizer.sh" 2>&1
exit 1
fi
# Updating System
dnf update -y
# Installing fonts
dnf install fontawesome-fonts fontawesome-fonts-web
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
unzip FiraCode.zip -d /usr/share/fonts
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
unzip Meslo.zip -d /usr/share/fonts
# Reloading Font
fc-cache -vf
# Removing zip Files
rm ./FiraCode.zip ./Meslo.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment