diff --git a/usr/bin/mbhelper b/usr/bin/mbhelper index cadc27e..0a9c9be 100755 --- a/usr/bin/mbhelper +++ b/usr/bin/mbhelper @@ -50,6 +50,12 @@ MENU_HEIGHT_MAX=600 [ -z $jgmenu_use_borders ] && menu_border=0 mkconfigfile +CNFDIRFILE="$HOME/.config/mabox/configdir.csv" + +> $CNFDIRFILE +while read i; do + echo "~/.config${i#*config},xdg-open ${i}" >> $CNFDIRFILE +done < <(tree -aif -I chromium -I "Local Storage" -I IndexedDB -I registry -I icons -I "*cache*" -I "*Cach*" --noreport ~/.config/) cat < ${MENU_ITEMS} @search,,25,15,292,20,4,left,top,auto,#262626,""" $TYPE_TO_SEARCH""" @@ -57,7 +63,7 @@ cat < ${MENU_ITEMS} $EDIT,mbhelper edit ${TODEFAULT} . $CSVFILE - +. $CNFDIRFILE EOF