diff --git a/bin/mb-jgtools b/bin/mb-jgtools index cf26375..7034bba 100755 --- a/bin/mb-jgtools +++ b/bin/mb-jgtools @@ -472,11 +472,10 @@ JGWIDTH=250 jgmenu_icon_size=0 MENU_PADDING_TOP=55 BOTTOM_IMG=${places_bottom_img:-/usr/share/mb-jgtools/mabox_3D_silver.png} - -[ $places_softwarepipe == true ] && softwarepipe="^sep($PIPEMENUS) -$POPINSTALL,^pipe(jgsoftware-pipe -r)" -[ $places_sysinfopipe == true ] && sysinfopipe="$SYSINFO,^pipe(jgsysinfo-pipe -r)" -[ $places_keyspipe == true ] && keyspipe="$SHORTCUTS,^pipe(jgkeys-pipe -r)" +#if [[ $places_softwarepipe || $places_sysinfopipe || $places_keyspipe ]];then pipeseparator="^sep($PIPEMENUS)";fi +[ $places_softwarepipe == true ] && softwarepipe="$POPINSTALL,^pipe(jgsoftware-pipe -r)" && pipesep="^sep($PIPEMENUS)" +[ $places_sysinfopipe == true ] && sysinfopipe="$SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)" +[ $places_keyspipe == true ] && keyspipe="$SHORTCUTS,^pipe(jgkeys-pipe -r)" && pipesep="^sep($PIPEMENUS)" mkconfigfile @@ -501,6 +500,7 @@ $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)) $(gtkbookmarks) . $HOME/.config/mabox/vboxes.csv +$pipesep $softwarepipe $sysinfopipe $keyspipe