From 9011d97c53d0129ac53e688f7313b63e97e2fd8a Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 25 Jul 2023 15:44:20 +0800 Subject: [PATCH] Fixed #903 --- shell/lib-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/lib-install.sh b/shell/lib-install.sh index 1e8b93e..d1422f5 100755 --- a/shell/lib-install.sh +++ b/shell/lib-install.sh @@ -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