glyphicons
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
# mb-places
|
||||
#
|
||||
. ~/.config/mabox/mabox.conf
|
||||
. /usr/share/mb-jgtools/jgtools.inc
|
||||
|
||||
PLACES="$HOME/.config/mabox/places.csv"
|
||||
|
||||
gtkbookmarks() {
|
||||
@@ -90,10 +91,10 @@ esac
|
||||
#cat <<EOF > ${PLACES}
|
||||
out+=("^sep($LABEL <span font_weight='normal'>[ + . ]</span>)")
|
||||
#out+=("^sep($LABEL <small>[W-.]</small>)")
|
||||
out+=(" $HOME_DIR (<b>~</b>),^pipe(jgbrowser),folder-home")
|
||||
out+=(" $HOME_DIR (<b>~</b>),^pipe(jgbrowser),folder-home")
|
||||
out+=(" $(basename $(xdg-user-dir DOWNLOAD)),^pipe(jgbrowser $(xdg-user-dir DOWNLOAD)),folder-download")
|
||||
out+=(" $(basename $(xdg-user-dir DOCUMENTS)),^pipe(jgbrowser $(xdg-user-dir DOCUMENTS)),folder-documents")
|
||||
out+=(" $(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC)),folder-music")
|
||||
out+=(" $(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC)),folder-music")
|
||||
out+=(" $(basename $(xdg-user-dir PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES)),folder-pictures")
|
||||
out+=(" $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)),folder-video")
|
||||
#^sep()
|
||||
@@ -116,10 +117,10 @@ out2+=("^tag(inst)")
|
||||
|
||||
out+=("^sep($FILETOOLS)")
|
||||
if hash pcmanfm &>/dev/null; then
|
||||
out+=("<big></big> PCManFM,pcmanfm,file-manager")
|
||||
out+=("<big></big> PCManFM,pcmanfm,file-manager")
|
||||
fi
|
||||
if hash thunar &>/dev/null; then
|
||||
out+=("<big></big> Thunar,thunar,file-manager")
|
||||
out+=("<big></big> Thunar,thunar,file-manager")
|
||||
fi
|
||||
if hash fsearch &>/dev/null; then
|
||||
out+=("<big></big> FSearch,fsearch,search")
|
||||
@@ -144,7 +145,7 @@ out+=("$INST ...,^checkout(inst),package-manager-icon ")
|
||||
fi
|
||||
|
||||
out+=("^sep($SETTINGS)")
|
||||
[[ $jgbrowser_show_hidden = false ]] && out+=("<big></big> <i>$SHOW_HIDDEN</i>,mb-setvar jgbrowser_show_hidden=true;mb-places -s") || out+=("<big></big> $SHOW_HIDDEN,mb-setvar jgbrowser_show_hidden=false;mb-places -s")
|
||||
[[ $jgbrowser_show_hidden = false ]] && out+=("<big>${cboff}</big> <i>$SHOW_HIDDEN</i>,mb-setvar jgbrowser_show_hidden=true;mb-places -s") || out+=("<big>${cbon}</big> $SHOW_HIDDEN,mb-setvar jgbrowser_show_hidden=false;mb-places -s")
|
||||
#out+=(" $EDIT $LABEL,xdg-open $PLACES,geany")
|
||||
}
|
||||
|
||||
@@ -153,8 +154,7 @@ out+=("^sep($SETTINGS)")
|
||||
main
|
||||
|
||||
if [[ "$1" == "-s" || "$1" == "ipc" || "$1" == "-d" ]]; then
|
||||
. /usr/share/mb-jgtools/pipemenu-standalone.cfg
|
||||
. $HOME/.config/mabox/mabox.conf
|
||||
|
||||
if [[ $panels_heightpos == "top" ]]; then
|
||||
MENU_VALIGN="top"
|
||||
MENU_MARGIN_Y=${panels_topmargin:-0}
|
||||
|
||||
Reference in New Issue
Block a user