software pipemenu added to places sidepanel

master
Daniel Napora 2020-09-05 21:53:09 +02:00
parent 817cef6a26
commit e315d35ee3
1 changed files with 14 additions and 2 deletions

View File

@ -23,7 +23,7 @@ fi
. $HOME/.config/mabox/mabox.conf
jgmenu_theme=${jgmenu_theme:-obtheme}
#jgmenu_use_icons=${jgmenu_use_icons:-false}
case $jgmenu_theme in
default)
export color_norm_fg="#FFFFFF "
@ -457,16 +457,22 @@ case $LANG in
QUICK_NAV="Szybka nawigacja"
HOME_DIR="Katalog Domowy"
ROOTDIR="Katalog główny"
POP_APPS_PIPE="Instaluj popularne programy"
POPINSTALL="Instaluj..."
;;
es*)
QUICK_NAV="Navegación rápida"
HOME_DIR="Carpeta personal"
ROOTDIR="Directorio raíz"
POP_APPS_PIPE="Instalar Programas populares"
POPINSTALL="Instalar..."
;;
*)
QUICK_NAV="Quick Navigation"
HOME_DIR="Home Directory"
ROOTDIR="Main Directory"
POP_APPS_PIPE="Install popular apps"
POPINSTALL="Install..."
;;
esac
@ -474,8 +480,13 @@ MENU_HEIGHT_MIN=$(xdpyinfo | awk '/^ +dimensions/ {print $2}' | cut -d 'x' -f2)
JGWIDTH=220
jgmenu_icon_size=0
MENU_PADDING_TOP=70
[ $places_softwarepipe == true ] && softwarepipe="^sep($POP_APPS_PIPE)
$POPINSTALL,^pipe(jgsoftware-pipe)"
mkconfigfile
cat <<EOF > ${MENU_ITEMS}
@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
@ -489,7 +500,7 @@ cat <<EOF > ${MENU_ITEMS}
$ROOTDIR,^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 TEMPLATES)),^pipe(jgbrowser $(xdg-user-dir TEMPLATES))
#(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)
. $HOME/.config/mabox/vboxes.csv
$softwarepipe
. $HOME/.config/mabox/places-append.csv
EOF