From 4625fc2715e30d1a98a88ab7a9781912dbe5e294 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Mon, 18 Apr 2022 20:33:06 +0800 Subject: [PATCH] Update lib-install.sh --- lib-install.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/lib-install.sh b/lib-install.sh index 7582d05..84e1725 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -318,14 +318,6 @@ install_beggy() { esac } -install_darky() { - local opacity="$(destify ${1})" - local theme="$(destify ${2})" - - sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-3.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-3.css" - sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss" "${WHITESUR_TMP_DIR}/darky-4.css" -} - install_xfwmy() { local color="$(destify ${1})" @@ -456,6 +448,13 @@ install_theemy() { echo '@import url("resource:///org/gnome/theme/gtk-dark.css");' > "${TARGET_DIR}/gtk-4.0/gtk-dark.css" glib-compile-resources --sourcedir="${TMP_DIR_F}" --target="${TARGET_DIR}/gtk-4.0/gtk.gresource" "${THEME_SRC_DIR}/main/gtk-4.0/gtk.gresource.xml" + # link gtk4.0 for libadwaita + cp -rf "${TMP_DIR_T}/assets" "${HOME}/.config/gtk-4.0" + cp -rf "${TMP_DIR_T}/windows-assets" "${HOME}/.config/gtk-4.0" + + sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk${color}.scss" "${HOME}/.config/gtk-4.0/gtk.css" + sassc ${SASSC_OPT} "${THEME_SRC_DIR}/main/gtk-4.0/gtk-dark.scss" "${HOME}/.config/gtk-4.0/gtk-dark.css" + #----------------Cinnamon-----------------# mkdir -p "${TARGET_DIR}/cinnamon"