places fix for /, append and prepend
parent
8ae889c9b5
commit
7c31b714a4
|
@ -252,21 +252,26 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
@text,,70,30,200,20,4,left,top,#666666,#444444,<small>Jądro:</small> $KERNEL $HOSTTYPE
|
@text,,70,30,200,20,4,left,top,#666666,#444444,<small>Jądro:</small> $KERNEL $HOSTTYPE
|
||||||
@text,,70,50,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
|
@text,,70,50,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
|
||||||
|
|
||||||
|
. $HOME/.config/mabox/places-prepend.csv
|
||||||
|
|
||||||
^sep(Szybka nawigacja)
|
^sep(Szybka nawigacja)
|
||||||
Katalog główny,^pipe(jgmenu_run ob --cmd='obbrowser /')
|
Katalog główny,^pipe(places "/")
|
||||||
Katalog domowy,^pipe(places)
|
Katalog domowy,^pipe(places)
|
||||||
|
|
||||||
$(basename $(xdg-user-dir DESKTOP)),^pipe(places $(xdg-user-dir DESKTOP))
|
$(basename $(xdg-user-dir DESKTOP)),^pipe(places $(xdg-user-dir DESKTOP))
|
||||||
$(basename $(xdg-user-dir DOWNLOAD)),^pipe(places $(xdg-user-dir DOWNLOAD))
|
$(basename $(xdg-user-dir DOWNLOAD)),^pipe(places $(xdg-user-dir DOWNLOAD))
|
||||||
$(basename $(xdg-user-dir TEMPLATES)),^pipe(places $(xdg-user-dir TEMPLATES))
|
# $(basename $(xdg-user-dir TEMPLATES)),^pipe(places $(xdg-user-dir TEMPLATES))
|
||||||
$(basename $(xdg-user-dir PUBLICSHARE)),^pipe(places $(xdg-user-dir PUBLICSHARE))
|
# $(basename $(xdg-user-dir PUBLICSHARE)),^pipe(places $(xdg-user-dir PUBLICSHARE))
|
||||||
$(basename $(xdg-user-dir DOCUMENTS)),^pipe(places $(xdg-user-dir DOCUMENTS))
|
$(basename $(xdg-user-dir DOCUMENTS)),^pipe(places $(xdg-user-dir DOCUMENTS))
|
||||||
$(basename $(xdg-user-dir MUSIC)),^pipe(places $(xdg-user-dir MUSIC))
|
$(basename $(xdg-user-dir MUSIC)),^pipe(places $(xdg-user-dir MUSIC))
|
||||||
$(basename $(xdg-user-dir PICTURES)),^pipe(places $(xdg-user-dir PICTURES))
|
$(basename $(xdg-user-dir PICTURES)),^pipe(places $(xdg-user-dir PICTURES))
|
||||||
$(basename $(xdg-user-dir VIDEOS)),^pipe(places $(xdg-user-dir VIDEOS))
|
$(basename $(xdg-user-dir VIDEOS)),^pipe(places $(xdg-user-dir VIDEOS))
|
||||||
^sep(Zakładki)
|
#^sep(Zakładki)
|
||||||
^sep()
|
^sep()
|
||||||
<big></big> Wyszukiwarka plików, fsearch
|
<big></big> Wyszukiwarka plików, fsearch
|
||||||
|
|
||||||
|
. $HOME/.config/mabox/places-append.csv
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
|
jgmenu --config-file=${CONFIG_FILE} --csv-file=${MENU_ITEMS} 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
: ${JGMENU_RESOURCE_OPENER=xdg-open}
|
: ${JGMENU_RESOURCE_OPENER=xdg-open}
|
||||||
|
|
||||||
path=${1:-$HOME}
|
path=${1:-$HOME}
|
||||||
path=${path%/}
|
[ $path != "/" ] && path=${path%/}
|
||||||
|
|
||||||
test -d "$path" || { echo "$0: '$path' is not a directory" >&2 ; exit 1 ; }
|
test -d "$path" || { echo "$0: '$path' is not a directory" >&2 ; exit 1 ; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue