From b14ac6eaaf811163af980bdcd84ba4925a18007d Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Mon, 21 Sep 2020 17:15:44 +0200 Subject: [PATCH] pipemenus in places sidepanel fix --- bin/mb-jgtools | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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