PortValhalla/scripts/PopOS/fonts.sh

10 lines
230 B
Bash
Raw Normal View History

2022-11-12 13:45:03 +00:00
#!/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