software pipemenu added to places sidepanel
parent
817cef6a26
commit
e315d35ee3
|
@ -23,7 +23,7 @@ fi
|
||||||
. $HOME/.config/mabox/mabox.conf
|
. $HOME/.config/mabox/mabox.conf
|
||||||
|
|
||||||
jgmenu_theme=${jgmenu_theme:-obtheme}
|
jgmenu_theme=${jgmenu_theme:-obtheme}
|
||||||
#jgmenu_use_icons=${jgmenu_use_icons:-false}
|
|
||||||
case $jgmenu_theme in
|
case $jgmenu_theme in
|
||||||
default)
|
default)
|
||||||
export color_norm_fg="#FFFFFF "
|
export color_norm_fg="#FFFFFF "
|
||||||
|
@ -457,16 +457,22 @@ case $LANG in
|
||||||
QUICK_NAV="Szybka nawigacja"
|
QUICK_NAV="Szybka nawigacja"
|
||||||
HOME_DIR="Katalog Domowy"
|
HOME_DIR="Katalog Domowy"
|
||||||
ROOTDIR="Katalog główny"
|
ROOTDIR="Katalog główny"
|
||||||
|
POP_APPS_PIPE="Instaluj popularne programy"
|
||||||
|
POPINSTALL="Instaluj..."
|
||||||
;;
|
;;
|
||||||
es*)
|
es*)
|
||||||
QUICK_NAV="Navegación rápida"
|
QUICK_NAV="Navegación rápida"
|
||||||
HOME_DIR="Carpeta personal"
|
HOME_DIR="Carpeta personal"
|
||||||
ROOTDIR="Directorio raíz"
|
ROOTDIR="Directorio raíz"
|
||||||
|
POP_APPS_PIPE="Instalar Programas populares"
|
||||||
|
POPINSTALL="Instalar..."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
QUICK_NAV="Quick Navigation"
|
QUICK_NAV="Quick Navigation"
|
||||||
HOME_DIR="Home Directory"
|
HOME_DIR="Home Directory"
|
||||||
ROOTDIR="Main Directory"
|
ROOTDIR="Main Directory"
|
||||||
|
POP_APPS_PIPE="Install popular apps"
|
||||||
|
POPINSTALL="Install..."
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -474,8 +480,13 @@ MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
|
||||||
JGWIDTH=220
|
JGWIDTH=220
|
||||||
jgmenu_icon_size=0
|
jgmenu_icon_size=0
|
||||||
MENU_PADDING_TOP=70
|
MENU_PADDING_TOP=70
|
||||||
|
[ $places_softwarepipe == true ] && softwarepipe="^sep($POP_APPS_PIPE)
|
||||||
|
$POPINSTALL,^pipe(jgsoftware-pipe)"
|
||||||
|
|
||||||
mkconfigfile
|
mkconfigfile
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
cat <<EOF > ${MENU_ITEMS}
|
cat <<EOF > ${MENU_ITEMS}
|
||||||
@icon,,10,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
|
@icon,,10,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/mbcc.png
|
||||||
@icon,,40,$(expr $MENU_HEIGHT_MIN - 96),143,96,4,left,top,,,$HOME/.config/mabox/tux.svg
|
@icon,,40,$(expr $MENU_HEIGHT_MIN - 96),143,96,4,left,top,,,$HOME/.config/mabox/tux.svg
|
||||||
|
@ -489,7 +500,7 @@ cat <<EOF > ${MENU_ITEMS}
|
||||||
$ROOTDIR,^pipe(jgbrowser /)
|
$ROOTDIR,^pipe(jgbrowser /)
|
||||||
$HOME_DIR,^pipe(jgbrowser)
|
$HOME_DIR,^pipe(jgbrowser)
|
||||||
|
|
||||||
$(basename $(xdg-user-dir DESKTOP)),^pipe(jgbrowser $(xdg-user-dir DESKTOP))
|
#$(basename $(xdg-user-dir DESKTOP)),^pipe(jgbrowser $(xdg-user-dir DESKTOP))
|
||||||
$(basename $(xdg-user-dir DOWNLOAD)),^pipe(jgbrowser $(xdg-user-dir DOWNLOAD))
|
$(basename $(xdg-user-dir DOWNLOAD)),^pipe(jgbrowser $(xdg-user-dir DOWNLOAD))
|
||||||
#$(basename $(xdg-user-dir TEMPLATES)),^pipe(jgbrowser $(xdg-user-dir TEMPLATES))
|
#$(basename $(xdg-user-dir TEMPLATES)),^pipe(jgbrowser $(xdg-user-dir TEMPLATES))
|
||||||
#(basename $(xdg-user-dir PUBLICSHARE)),^pipe(jgbrowser $(xdg-user-dir PUBLICSHARE))
|
#(basename $(xdg-user-dir PUBLICSHARE)),^pipe(jgbrowser $(xdg-user-dir PUBLICSHARE))
|
||||||
|
@ -500,6 +511,7 @@ $(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS))
|
||||||
|
|
||||||
$(gtkbookmarks)
|
$(gtkbookmarks)
|
||||||
. $HOME/.config/mabox/vboxes.csv
|
. $HOME/.config/mabox/vboxes.csv
|
||||||
|
$softwarepipe
|
||||||
. $HOME/.config/mabox/places-append.csv
|
. $HOME/.config/mabox/places-append.csv
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue