Search ~/.config fromm command palette
parent
ca1f12dee2
commit
38414c8457
|
@ -50,6 +50,12 @@ MENU_HEIGHT_MAX=600
|
||||||
[ -z $jgmenu_use_borders ] && menu_border=0
|
[ -z $jgmenu_use_borders ] && menu_border=0
|
||||||
|
|
||||||
mkconfigfile
|
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 <<EOF > ${MENU_ITEMS}
|
cat <<EOF > ${MENU_ITEMS}
|
||||||
@search,,25,15,292,20,4,left,top,auto,#262626,"""<big></big> <i>$TYPE_TO_SEARCH</i>"""
|
@search,,25,15,292,20,4,left,top,auto,#262626,"""<big></big> <i>$TYPE_TO_SEARCH</i>"""
|
||||||
|
@ -57,7 +63,7 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
$EDIT,mbhelper edit
|
$EDIT,mbhelper edit
|
||||||
${TODEFAULT}
|
${TODEFAULT}
|
||||||
. $CSVFILE
|
. $CSVFILE
|
||||||
|
. $CNFDIRFILE
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue