From 224c3fa38c45716d0800e59521f653a29a716e57 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 21 Aug 2024 11:25:48 +0800 Subject: [PATCH] Fixed #190 --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 62bf3246..5f12b6ce 100755 --- a/install.sh +++ b/install.sh @@ -156,6 +156,12 @@ install() { cp -r "${SRC_DIR}/main/xfwm4/themerc" "${THEME_DIR}-xhdpi/xfwm4/themerc" sed -i "s/button_offset=6/button_offset=12/" "${THEME_DIR}-xhdpi/xfwm4/themerc" + if [[ "$color" == '' ]]; then + sed -i "s/active_text_color_2/active_color_2/" "${THEME_DIR}/xfwm4/themerc" + sed -i "s/active_text_color_2/active_color_2/" "${THEME_DIR}-hdpi/xfwm4/themerc" + sed -i "s/active_text_color_2/active_color_2/" "${THEME_DIR}-xhdpi/xfwm4/themerc" + fi + mkdir -p "${THEME_DIR}/plank" if [[ "$color" == '-Light' ]]; then cp -r "${SRC_DIR}/main/plank/theme-Light${scheme}/"* "${THEME_DIR}/plank"