This commit is contained in:
vinceliuice 2023-07-25 15:44:20 +08:00
parent 3bef54f42e
commit 9011d97c53

View file

@ -557,7 +557,7 @@ remove_libadwaita() {
###############################################################################
fix_whiskermenu() {
if command -v xfce4-popup-whiskermenu &> /dev/null; then
if (command -v xfce4-popup-whiskermenu &> /dev/null) && $(sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc" &> /dev/null); then
sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc"
fi