From 56abf1e529af1e86140e8cf5ce04464d5ff308e3 Mon Sep 17 00:00:00 2001 From: clsty Date: Mon, 17 Jun 2024 15:45:49 +0800 Subject: [PATCH] For arch(based) distro use aur/ttf-rubik-vf --- arch-packages/illogical-impulse-ags/PKGBUILD | 2 +- arch-packages/illogical-impulse-fonts-themes/PKGBUILD | 1 + install.sh | 9 +-------- scriptdata/installers | 2 ++ 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/arch-packages/illogical-impulse-ags/PKGBUILD b/arch-packages/illogical-impulse-ags/PKGBUILD index 7a941a5c2..38a394bde 100644 --- a/arch-packages/illogical-impulse-ags/PKGBUILD +++ b/arch-packages/illogical-impulse-ags/PKGBUILD @@ -1,4 +1,4 @@ -# Copied from AUR package maintained by kotontrion +# Modified from AUR package "aylurs-gtk-shell-git" maintained by kotontrion pkgname=illogical-impulse-ags _pkgname=ags pkgver=r525.05e0f23 diff --git a/arch-packages/illogical-impulse-fonts-themes/PKGBUILD b/arch-packages/illogical-impulse-fonts-themes/PKGBUILD index 2cdffdd99..abef79cb0 100644 --- a/arch-packages/illogical-impulse-fonts-themes/PKGBUILD +++ b/arch-packages/illogical-impulse-fonts-themes/PKGBUILD @@ -13,6 +13,7 @@ depends=( ttf-jetbrains-mono-nerd ttf-material-symbols-variable-git ttf-space-mono-nerd + ttf-rubik-vf fish foot starship diff --git a/install.sh b/install.sh index a7183875d..7c0dce62b 100755 --- a/install.sh +++ b/install.sh @@ -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" diff --git a/scriptdata/installers b/scriptdata/installers index 1e9dd4bc2..f686f9217 100644 --- a/scriptdata/installers +++ b/scriptdata/installers @@ -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