Add script for installing fonts

This commit is contained in:
Manuel Thalmann 2022-11-12 14:45:03 +01:00
parent fb81be882c
commit a5546e93ed
2 changed files with 12 additions and 0 deletions

View file

@ -18,6 +18,9 @@ source "$softwareRoot/gnome-extensions.sh"
source "$softwareRoot/rclone/install.sh"
source "$cloudRoot/nextcloud.sh" &
# Install fonts
source "$popOSRoot/fonts.sh"
# Install surface-linux and Secure Boot
source "$popOSRoot/linux-surface.sh"
source "$popOSRoot/secure-boot.sh"

9
scripts/PopOS/fonts.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# Elevate script
if [ ! "$UID" -eq 0 ]
then
exec sudo bash "$0" "$USER"
fi
homeDir=$(sudo -u $1 bash -c 'realpath ~')
cp "$homeDir/Nextcloud/Caskaydia Cove Regular Nerd Font Complete.otf" /usr/share/font/opentype