For arch(based) distro use aur/ttf-rubik-vf

This commit is contained in:
clsty 2024-06-17 15:45:49 +08:00
parent 08aba32c70
commit 56abf1e529
4 changed files with 5 additions and 9 deletions

View file

@ -1,4 +1,4 @@
# Copied from AUR package maintained by kotontrion <kotontrion@tutanota.de>
# Modified from AUR package "aylurs-gtk-shell-git" maintained by kotontrion <kotontrion@tutanota.de>
pkgname=illogical-impulse-ags
_pkgname=ags
pkgver=r525.05e0f23

View file

@ -13,6 +13,7 @@ depends=(
ttf-jetbrains-mono-nerd
ttf-material-symbols-variable-git
ttf-space-mono-nerd
ttf-rubik-vf
fish
foot
starship

View file

@ -161,19 +161,12 @@ esac
v sudo usermod -aG video,i2c,input "$(whoami)"
v bash -c "echo i2c-dev | sudo tee /etc/modules-load.d/i2c-dev.conf"
v systemctl --user enable ydotool --now
v gsettings set org.gnome.desktop.interface font-name 'Rubik 11'
#####################################################################################
printf "\e[36m[$0]: 2. Installing parts from source repo\e[0m\n"
sleep 1
if $(fc-list|grep -q Rubik); then
echo -e "\e[33m[$0]: Font \"Rubik\" already exists, no need to install.\e[0m"
echo -e "\e[34mYou can reinstall it in order to update to the latest version anyway.\e[0m"
ask_Rubik=$ask
else ask_Rubik=true
fi
if $ask_Rubik;then showfun install-Rubik;v install-Rubik;fi
if $(fc-list|grep -q Gabarito); then
echo -e "\e[33m[$0]: Font \"Gabarito\" already exists, no need to install.\e[0m"
echo -e "\e[34mYou can reinstall it in order to update to the latest version anyway.\e[0m"

View file

@ -21,6 +21,7 @@ install-yay() {
rm -rf /tmp/buildyay
}
# Not for Arch(based) distro.
install-ags (){
x mkdir -p $base/cache/ags
x cd $base/cache/ags
@ -34,6 +35,7 @@ install-ags (){
x cd $base
}
# Not for Arch(based) distro.
install-Rubik (){
x mkdir -p $base/cache/Rubik
x cd $base/cache/Rubik