diff --git a/bin/mb-jgtools b/bin/mb-jgtools index aeb4269..eaa0cba 100755 --- a/bin/mb-jgtools +++ b/bin/mb-jgtools @@ -1,7 +1,7 @@ #!/bin/bash -l # # mb-jgtools: Menu, Sidepanels, Screenshot Tool and Exit Dialog for Mabox -# Copyright (C) 2019-2021 Daniel Napora +# Copyright (C) 2019-2022 Daniel Napora . $HOME/.config/mabox/mabox.conf jgmenu_theme=${jgmenu_theme:-obtheme} @@ -211,14 +211,14 @@ EOF cat < $HOME/.config/jgmenu/append.csv . ~/.config/mabox/mainmenu_below_apps.csv -^sep() -$KEYS, mbhelper -s,key_bindings -^sep() -$SCREENSHOT,mb-jgtools screenshot,emblem-photos -^sep() -$LOCKSCR,mbscreenlocker,system-lock-screen -^sep() -$EXIT,mb-jgtools mblogout,system-shutdown +#^sep() +#$KEYS, mbhelper -s,key_bindings +#^sep() +#$SCREENSHOT,mb-jgtools screenshot,emblem-photos +#^sep() +#$LOCKSCR,mbscreenlocker,system-lock-screen +#^sep() +#$EXIT,mb-jgtools mblogout,system-shutdown ^tag($SETTINGS) . ~/.config/mabox/settings.csv @@ -667,7 +667,9 @@ fi [[ $places_jglockscreen == true || -z ${places_jglockscreen} ]] && jglockscreen=" $LOCKSCREEN,^pipe(jglockscreen -r)" && pipesep="^sep($PIPEMENUS)" # VBOXES -#[[ $places_vboxes == true ]] && vboxes=". $HOME/.config/mabox/vboxes.csv" || vboxes="" +if [[ -x "$(command -v VBoxManage)" ]]; then +[[ $places_vboxes == true ]] && vboxes=". $HOME/.config/mabox/vboxes.csv" || vboxes="" +fi mkconfigfile @@ -696,7 +698,7 @@ $softwarepipe $tint2pipe $conkypipe -#${vboxes} +${vboxes} . $HOME/.config/mabox/places-append.csv EOF