From b6fb3e291e9af8655e70694af3224a5fd92a55bd Mon Sep 17 00:00:00 2001 From: devindice Date: Sat, 6 Aug 2022 14:56:16 -0400 Subject: [PATCH] hide icons --- rootfs/startup.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/rootfs/startup.sh b/rootfs/startup.sh index 6148b90..69d9b35 100755 --- a/rootfs/startup.sh +++ b/rootfs/startup.sh @@ -126,18 +126,21 @@ until [[ $SUCCESS == "TRUE" ]]; do export DISPLAY=:1.0 # Hide Lower Panel, Temp Removal - su $USER -c "xfconf-query -c xfce4-panel -p /panels -t int -s 1 -a 2>&1>/workspace/log" + su $USER -c "xfconf-query -c xfce4-panel -p /panels -t int -s 1 -a" # Set branding if [ -n "$MENU_NAME" ]; then - su $USER -c "xfconf-query -c xfce4-panel -p /plugins/plugin-1/button-title -n -t string -s '$MENU_NAME'" + su $USER -c "xfconf-query -c xfce4-panel -np /plugins/plugin-1/button-title -t string -s '$MENU_NAME'" fi if [ -n "$MENU_ICON" ]; then - su $USER -c "xfconf-query -c xfce4-panel -p /plugins/plugin-1/button-icon -n -t string -s '$MENU_ICON'" + su $USER -c "xfconf-query -c xfce4-panel -np /plugins/plugin-1/button-icon -t string -s '$MENU_ICON'" fi -# Add option to hide menu icons - + # Hide menu icons + if [ -n "$SHOW_MENU_ICONS" ]; then + su $USER -c "xfconf-query -c xfce4-panel -np /plugins/plugin-1/show-menu-icons -t bool -s '$SHOW_MENU_ICONS'" + fi + # Remove plugins su $USER -c " # Copy Existing Array