Add script for installing fonts
This commit is contained in:
parent
fb81be882c
commit
a5546e93ed
2 changed files with 12 additions and 0 deletions
|
@ -18,6 +18,9 @@ source "$softwareRoot/gnome-extensions.sh"
|
||||||
source "$softwareRoot/rclone/install.sh"
|
source "$softwareRoot/rclone/install.sh"
|
||||||
source "$cloudRoot/nextcloud.sh" &
|
source "$cloudRoot/nextcloud.sh" &
|
||||||
|
|
||||||
|
# Install fonts
|
||||||
|
source "$popOSRoot/fonts.sh"
|
||||||
|
|
||||||
# Install surface-linux and Secure Boot
|
# Install surface-linux and Secure Boot
|
||||||
source "$popOSRoot/linux-surface.sh"
|
source "$popOSRoot/linux-surface.sh"
|
||||||
source "$popOSRoot/secure-boot.sh"
|
source "$popOSRoot/secure-boot.sh"
|
||||||
|
|
9
scripts/PopOS/fonts.sh
Normal file
9
scripts/PopOS/fonts.sh
Normal 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
|
Loading…
Reference in a new issue