From c61db15a88a6cd292f59d5826ec11c64c61cce69 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:14:20 +0700 Subject: [PATCH] install script: add icon pack (#181) --- install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/install.sh b/install.sh index 9cfa59c5d..5ddae2076 100755 --- a/install.sh +++ b/install.sh @@ -174,6 +174,18 @@ install-Gabarito (){ x fc-cache -fv x cd $base } +install-OneUI4-Icons (){ + x mkdir -p $base/cache/OneUI4-Icons + x cd $base/cache/OneUI4-Icons + try git init -b main + try git remote add origin https://github.com/mjkim0727/OneUI4-Icons.git + x git pull origin main && git submodule update --init --recursive + x sudo mkdir -p /usr/local/share/icons + x sudo cp -r OneUI /usr/local/share/icons + x sudo cp -r OneUI-dark /usr/local/share/icons + x sudo cp -r OneUI-light /usr/local/share/icons + x cd $base +} if command -v ags >/dev/null 2>&1;then echo -e "\e[33m[$0]: Command \"ags\" already exists, no need to install.\e[0m" @@ -198,6 +210,8 @@ if $(fc-list|grep -q Gabarito); then else ask_Gabarito=true fi if $ask_Gabarito;then showfun install-Gabarito;v install-Gabarito;fi + +showfun install-OneUI4-Icons ;v install-OneUI4-Icons ##################################################################################### printf "\e[36m[$0]: 3. Copying\e[97m\n"