aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/fluxbox-generate_menu39
1 files changed, 33 insertions, 6 deletions
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index 97b20fc..a4d044b 100755
--- a/util/fluxbox-generate_menu
+++ b/util/fluxbox-generate_menu
@@ -22,7 +22,7 @@
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24# 24#
25# $Id: fluxbox-generate_menu,v 1.22 2002/12/29 10:37:47 fluxgen Exp $ 25# $Id: fluxbox-generate_menu,v 1.23 2003/01/04 15:22:29 fluxgen Exp $
26 26
27WHOAMI=`whoami` 27WHOAMI=`whoami`
28[ "$WHOAMI" = "root" ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin 28[ "$WHOAMI" = "root" ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin
@@ -185,7 +185,7 @@ else
185# Kde data-dir 185# Kde data-dir
186# KPKGDATADIR=/opt/kde/share 186# KPKGDATADIR=/opt/kde/share
187 187
188# MENUTITLE=Fluxbox 0.1.14 188# MENUTITLE=\`fluxbox -version|cut -d " " -f-2\`
189 189
190# standard url for console-browsers 190# standard url for console-browsers
191# HOMEPAGE=fluxbox.org 191# HOMEPAGE=fluxbox.org
@@ -560,6 +560,32 @@ case ${LC_ALL} in
560 WORKSPACEMENU="Lista workspace-uri" 560 WORKSPACEMENU="Lista workspace-uri"
561 XUTILSMENU="Utilitare X" 561 XUTILSMENU="Utilitare X"
562 ;; 562 ;;
563 es_ES*) # spanish locales
564 BACKGROUNDMENU="Fondos"
565 BACKGROUNDMENUTITLE="Seleccionar Fondo"
566 BROWSERMENU="Navegadores"
567 CONFIGUREMENU="Configurar"
568 EDITORMENU="Editores"
569 EXITITEM="Salir"
570 FBSETTINGSMENU="Menú fluxbox"
571 GAMESMENU="Juegos"
572 GNOMEMENUTEXT="Menús Gnome"
573 GRAPHICMENU="Gráficos"
574 KDEMENUTEXT="Menús KDE"
575 MISCMENU="Varios"
576 MULTIMEDIAMENU="Multimedia"
577 MUSICMENU="Música"
578 NETMENU="Red"
579 OFFICEMENU="Oficina"
580 RELOADITEM="Reconfigurar"
581 RESTARTITEM="Reiniciar"
582 STYLEMENUTITLE="Escoge un Estilo..."
583 SYSTEMSTYLES="Estilos del Sistema"
584 TERMINALMENU="Terminales"
585 USERSTYLES="Estilos del Usuario"
586 WORKSPACEMENU="Lista de Escritorios"
587 XUTILSMENU="Utilidades X"
588 ;;
563 *) 589 *)
564 ;; 590 ;;
565esac 591esac
@@ -683,9 +709,9 @@ append_menu_end
683append_submenu "${GAMESMENU}" 709append_submenu "${GAMESMENU}"
684 normal_find bzflag gnibbles gnobots2 tuxpuck gataxx glines \ 710 normal_find bzflag gnibbles gnobots2 tuxpuck gataxx glines \
685 gnect mahjongg gnomine gnome-stones gnometris gnotravex \ 711 gnect mahjongg gnomine gnome-stones gnometris gnotravex \
686 gnotski iagno knights same-gnome xboard freecell pysol \ 712 gnotski iagno knights eboard xboard freecell pysol \
687 gtali tuxracer xpenguins xsnow xeyes xpenguins \ 713 gtali tuxracer xpenguins xsnow xeyes xpenguins \
688 quake2 quake3 skoosh 714 quake2 quake3 skoosh same-gnome enigma
689append_menu_end 715append_menu_end
690 716
691# gnome menu 717# gnome menu
@@ -741,8 +767,9 @@ append_submenu "${FBSETTINGSMENU}"
741 767
742 if [ "$BACKGROUNDMENUITEM" = "yes" ];then 768 if [ "$BACKGROUNDMENUITEM" = "yes" ];then
743 append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}" 769 append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}"
744 for i in ${HOME}/.fluxbox/backgrounds/* ; do 770 for i in ${HOME}/.fluxbox/backgrounds/* ${PKGDATADIR}/fluxbox/backgrounds/* ; do
745 append "[exec] (`basename "$i"`) {bsetbg -f "$i" }" 771 picturename=`basename $i`
772 append "[exec] (${picturename//.???}) {bsetbg -f $i }"
746 done 773 done
747 append_menu_end 774 append_menu_end
748 fi 775 fi