From a1a3b823f17db8b65e31fab2b02677e4deb4c26b Mon Sep 17 00:00:00 2001 From: Vince Date: Sun, 6 Jun 2021 22:45:33 +0800 Subject: [PATCH] Fixed mate issues --- lib-install.sh | 10 ++++++++-- src/sass/gtk/_applications-3.0.scss | 24 ++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/lib-install.sh b/lib-install.sh index 087cbee..23543a6 100755 --- a/lib-install.sh +++ b/lib-install.sh @@ -242,6 +242,12 @@ install_theemy() { local theme="$(destify ${4})" local icon="$(destify ${5})" + if [[ "${color}" == '-light' ]]; then + local iconcolor='' + elif [[ "${color}" == '-dark' ]]; then + local iconcolor='-dark' + fi + local TARGET_DIR="${dest}/${name}${color}${opacity}${alt}${theme}" local TMP_DIR_T="${WHITESUR_TMP_DIR}/gtk-3.0${color}${opacity}${alt}${theme}" local TMP_DIR_F="${WHITESUR_TMP_DIR}/gtk-4.0${color}${opacity}${alt}${theme}" @@ -257,8 +263,8 @@ install_theemy() { [X-GNOME-Metatheme] GtkTheme=${name}${color}${opacity}${alt}${theme} MetacityTheme=${name}${color}${opacity}${alt}${theme} - IconTheme=${name}${color} - CursorTheme=${name}${color} + IconTheme=${name}${iconcolor} + CursorTheme=WhiteSur-cursors ButtonLayout=close,minimize,maximize:menu" echo "${desktop_entry}" > "${TARGET_DIR}/index.theme" diff --git a/src/sass/gtk/_applications-3.0.scss b/src/sass/gtk/_applications-3.0.scss index 2502d61..7876546 100644 --- a/src/sass/gtk/_applications-3.0.scss +++ b/src/sass/gtk/_applications-3.0.scss @@ -2797,6 +2797,7 @@ panel-toplevel.background { } button, + #PanelApplet > button.toggle, #tasklist-button { @extend %panel_button; @@ -2818,6 +2819,29 @@ panel-toplevel.background { background-color: $selected_bg_color; } } + + .brisk-menu { + entry, entry:focus { + border-radius: 0; + background: none; + box-shadow: none; + border-bottom: 1px solid $borders_color; + } + + .categories-list button.flat { border-radius: 3px; } + + scrolledwindow.frame { + border-width: 0 0 0 1px; + margin-top: -2px; + + .apps-list > row > button.flat { + &, &:hover, &:active, &:disabled { + background: none; + transition: none; + } + } + } + } } //