mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-05 23:13:19 +00:00
lib-install.sh: Disallow 'xfce4-panel -r' for the root user
This commit is contained in:
parent
f82220eddd
commit
cfb876e814
@ -563,7 +563,7 @@ fix_whiskermenu() {
|
||||
sed -i "s|.*menu-opacity=.*|menu-opacity=95|" "$HOME/.config/xfce4/panel/whiskermenu"*".rc"
|
||||
fi
|
||||
|
||||
if (pgrep xfce4-session &> /dev/null); then
|
||||
if pgrep xfce4-session &> /dev/null && [ "$(id -u)" -ne 0 ]; then
|
||||
xfce4-panel -r
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user