pipemenus, images

master
Daniel Napora 2020-09-22 13:35:13 +02:00
parent b14ac6eaaf
commit e5c591aa15
3 changed files with 15 additions and 10 deletions

View File

@ -328,7 +328,7 @@ mkconfigfile
cat <<EOF > ${MENU_ITEMS} cat <<EOF > ${MENU_ITEMS}
@icon,,15,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png @icon,,15,10,48,48,4,left,top,,,/usr/share/icons/hicolor/48x48/apps/distributor-logo-mabox.png
@text,,70,10,200,20,4,left,top,${color_title_fg% *},#111111,<big>$OSNAME $OSVERSION</big> <sup> $OSCODE</sup> @text,,70,10,200,20,4,left,top,${color_title_fg% *},#111111,<big>$OSNAME $OSVERSION</big> <sup> <i>$OSCODE</i></sup>
@text,,70,30,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small> @text,,70,30,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
@icon,,5,$(expr $MENU_HEIGHT_MIN - 190),240,180,4,center,top,,,$BOTTOM_IMG @icon,,5,$(expr $MENU_HEIGHT_MIN - 190),240,180,4,center,top,,,$BOTTOM_IMG
@search,,100,50,292,20,4,left,top,auto,#262626,"""<big></big> <small><i>$TYPE_TO_SEARCH</i></small>""" @search,,100,50,292,20,4,left,top,auto,#262626,"""<big></big> <small><i>$TYPE_TO_SEARCH</i></small>"""
@ -442,10 +442,11 @@ 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"
PIPEMENUS="Dynamiczne menu" PIPEMENUS="Dynamiczne <i>(pipe)</i> menu"
POPINSTALL="Instaluj popularne programy" POPINSTALL="Instaluj popularne programy"
SYSINFO="Informacje o systemie" SYSINFO="Informacje o systemie"
SHORTCUTS="Skróty klawiszowe" SHORTCUTS="Skróty klawiszowe"
MENUPANELS="Menu / Panele boczne"
;; ;;
es*) es*)
QUICK_NAV="Navegación rápida" QUICK_NAV="Navegación rápida"
@ -455,6 +456,7 @@ case $LANG in
POPINSTALL="Instalar Programas populares" POPINSTALL="Instalar Programas populares"
SYSINFO="System information" SYSINFO="System information"
SHORTCUTS="Atajos del teclado" SHORTCUTS="Atajos del teclado"
MENUPANELS="Menu / Paneles laterales"
;; ;;
*) *)
QUICK_NAV="Quick Navigation" QUICK_NAV="Quick Navigation"
@ -464,6 +466,7 @@ case $LANG in
POPINSTALL="Install popular apps" POPINSTALL="Install popular apps"
SYSINFO="System information" SYSINFO="System information"
SHORTCUTS="Keyboard shortcuts" SHORTCUTS="Keyboard shortcuts"
MENUPANELS="Menu / Sidepanels"
;; ;;
esac esac
@ -476,6 +479,7 @@ BOTTOM_IMG=${places_bottom_img:-/usr/share/mb-jgtools/mabox_3D_silver.png}
[ $places_softwarepipe == true ] && softwarepipe="$POPINSTALL,^pipe(jgsoftware-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_softwarepipe == true ] && softwarepipe="$POPINSTALL,^pipe(jgsoftware-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_sysinfopipe == true ] && sysinfopipe="$SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_sysinfopipe == true ] && sysinfopipe="$SYSINFO,^pipe(jgsysinfo-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_keyspipe == true ] && keyspipe="$SHORTCUTS,^pipe(jgkeys-pipe -r)" && pipesep="^sep($PIPEMENUS)" [ $places_keyspipe == true ] && keyspipe="$SHORTCUTS,^pipe(jgkeys-pipe -r)" && pipesep="^sep($PIPEMENUS)"
[ $places_menusettingspipe == true ] && menusettingspipe="$MENUPANELS,^pipe(jgmenusettings-pipe -r)" && pipesep="^sep($PIPEMENUS)"
mkconfigfile mkconfigfile
@ -483,26 +487,27 @@ 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,,10,$(expr $MENU_HEIGHT_MIN - 190),240,180,4,center,top,,,$BOTTOM_IMG @icon,,10,$(expr $MENU_HEIGHT_MIN - 190),240,180,4,center,top,,,$BOTTOM_IMG
@text,,70,10,200,20,4,left,top,${color_title_fg% *},#111111,<big>$OSNAME $OSVERSION</big> <sup> $OSCODE</sup> @text,,70,10,200,20,4,left,top,${color_title_fg% *},#111111,<big>$OSNAME $OSVERSION</big> <sup><i>$OSCODE</i></sup>
@text,,70,30,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small> @text,,70,30,200,20,4,left,top,#666666,#444444,<small>$USER@$HOSTNAME</small>
. $HOME/.config/mabox/places-prepend.csv . $HOME/.config/mabox/places-prepend.csv
^sep($QUICK_NAV) ^sep($QUICK_NAV)
$ROOTDIR,^pipe(jgbrowser /) <b>/</b> <i>($ROOTDIR)</i>,^pipe(jgbrowser /)
$HOME_DIR,^pipe(jgbrowser) <b>~</b> <i>($HOME_DIR)</i>,^pipe(jgbrowser)
$(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 DOCUMENTS)),^pipe(jgbrowser $(xdg-user-dir DOCUMENTS)) ~/$(basename $(xdg-user-dir DOCUMENTS)),^pipe(jgbrowser $(xdg-user-dir DOCUMENTS))
$(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC)) ~/$(basename $(xdg-user-dir MUSIC)),^pipe(jgbrowser $(xdg-user-dir MUSIC))
$(basename $(xdg-user-dir PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES)) ~/$(basename $(xdg-user-dir PICTURES)),^pipe(jgbrowser $(xdg-user-dir PICTURES))
$(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS)) ~/$(basename $(xdg-user-dir VIDEOS)),^pipe(jgbrowser $(xdg-user-dir VIDEOS))
$(gtkbookmarks) $(gtkbookmarks)
. $HOME/.config/mabox/vboxes.csv . $HOME/.config/mabox/vboxes.csv
$pipesep $pipesep
$softwarepipe $softwarepipe
$sysinfopipe $sysinfopipe
$menusettingspipe
$keyspipe $keyspipe
. $HOME/.config/mabox/places-append.csv . $HOME/.config/mabox/places-append.csv

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB