This commit is contained in:
vinceliuice 2023-07-24 21:42:24 +08:00
parent 26ca402077
commit 3bef54f42e
5 changed files with 2877 additions and 746 deletions

View file

@ -183,9 +183,9 @@ else
fi fi
fi fi
if (is_running "xfce4-session"); then # if (is_running "xfce4-session"); then
msg="XFCE: you may need to run 'xfce4-panel -r' after changing your theme to fix your panel opacity." # msg="XFCE: you may need to run 'xfce4-panel -r' after changing your theme to fix your panel opacity."
elif (is_my_distro "solus") && (is_running "gnome-session"); then if (is_my_distro "solus") && (is_running "gnome-session"); then
msg="GNOME: you may need to disable 'User Themes' extension to fix your dock." msg="GNOME: you may need to disable 'User Themes' extension to fix your dock."
# elif (is_running "gnome-session") && [[ "${GNOME_VERSION}" == "3-28" ]]; then # elif (is_running "gnome-session") && [[ "${GNOME_VERSION}" == "3-28" ]]; then
# msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog." # msg="GNOME: you may need to disable 'User Themes' extension to fix your logout and authentication dialog."

View file

@ -556,6 +556,16 @@ remove_libadwaita() {
# THEMES # # THEMES #
############################################################################### ###############################################################################
fix_whiskermenu() {
if command -v xfce4-popup-whiskermenu &> /dev/null; then
sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc"
fi
if (pgrep xfce4-session &> /dev/null); then
xfce4-panel -r
fi
}
install_themes() { install_themes() {
# "install_theemy" and "install_shelly" require "gtk_base", so multithreading # "install_theemy" and "install_shelly" require "gtk_base", so multithreading
# isn't possible # isn't possible
@ -575,7 +585,7 @@ install_themes() {
done done
done done
stop_animation stop_animation; fix_whiskermenu
} }
remove_themes() { remove_themes() {

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 45 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View file

@ -1,4 +1,4 @@
button_offset=20 button_offset=10
button_spacing=0 button_spacing=0
show_app_icon=false show_app_icon=false