aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-16 11:10:44 (GMT)
committerfluxgen <fluxgen>2002-12-16 11:10:44 (GMT)
commit84ee408a288718518d6c745ef37571f57debd3f2 (patch)
tree4c8d1cc7d1d23aea11b2b2286d43731390c3cb62
parent0923917ad60dc5b2bf150fa1e51c2b93e58924ac (diff)
downloadfluxbox_paul-84ee408a288718518d6c745ef37571f57debd3f2.zip
fluxbox_paul-84ee408a288718518d6c745ef37571f57debd3f2.tar.bz2
update from Han
-rwxr-xr-xutil/fluxbox-generate_menu36
1 files changed, 23 insertions, 13 deletions
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index a3a8991..be2e6d6 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.17 2002/12/14 23:58:13 fluxgen Exp $ 25# $Id: fluxbox-generate_menu,v 1.18 2002/12/16 11:10:44 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
@@ -283,7 +283,8 @@ NETMENU="Net"
283OFFICEMENU="Office" 283OFFICEMENU="Office"
284RELOADITEM="Reload config" 284RELOADITEM="Reload config"
285RESTARTITEM="Restart" 285RESTARTITEM="Restart"
286STYLEMENU="Styles" 286SYSTEMSTYLES="System Styles"
287USERSTYLES="User Styles"
287STYLEMENUTITLE="Choose a style..." 288STYLEMENUTITLE="Choose a style..."
288TERMINALMENU="Terminals" 289TERMINALMENU="Terminals"
289WORKSPACEMENU="Workspace List" 290WORKSPACEMENU="Workspace List"
@@ -308,7 +309,8 @@ case ${LC_ALL} in
308 NETMENU="óÅÔØ" 309 NETMENU="óÅÔØ"
309 RELOADITEM="ðÅÒÅÎÁÓÔÒÏÉÔØ" 310 RELOADITEM="ðÅÒÅÎÁÓÔÒÏÉÔØ"
310 RESTARTITEM="ðÅÒÅÚÁÐÕÓÔÉÔØ" 311 RESTARTITEM="ðÅÒÅÚÁÐÕÓÔÉÔØ"
311 STYLEMENU="óÔÉÌÉ" 312 SYSTEMSTYLES="óÔÉÌÉ"
313 USERSTYLES="óÔÉÌÉ"
312 STYLEMENUTITLE="÷ÙÂÅÒÉÔÅ ÓÔÉÌØ" 314 STYLEMENUTITLE="÷ÙÂÅÒÉÔÅ ÓÔÉÌØ"
313 TERMINALMENU="ôÅÒÍÉÎÁÌÙ" 315 TERMINALMENU="ôÅÒÍÉÎÁÌÙ"
314 WORKSPACEMENU="òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á" 316 WORKSPACEMENU="òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á"
@@ -331,7 +333,8 @@ case ${LC_ALL} in
331 NETMENU="Net" 333 NETMENU="Net"
332 RELOADITEM="Ladda om konfig" 334 RELOADITEM="Ladda om konfig"
333 RESTARTITEM="Starta om" 335 RESTARTITEM="Starta om"
334 STYLEMENU="Stiler" 336 SYSTEMSTYLES="Stiler"
337 USERSTYLES="Stiler"
335 STYLEMENUTITLE="Välj en stil" 338 STYLEMENUTITLE="Välj en stil"
336 TERMINALMENU="Terminaler" 339 TERMINALMENU="Terminaler"
337 WORKSPACEMENU="Arbetsytor" 340 WORKSPACEMENU="Arbetsytor"
@@ -354,7 +357,8 @@ case ${LC_ALL} in
354 NETMENU="Net" 357 NETMENU="Net"
355 RELOADITEM="Vernieuw instellingen" 358 RELOADITEM="Vernieuw instellingen"
356 RESTARTITEM="Restart" 359 RESTARTITEM="Restart"
357 STYLEMENU="Stylen" 360 SYSTEMSTYLES="Systeem Stylen"
361 USERSTYLES="Gebruikers Stylen"
358 STYLEMENUTITLE="Kies een styl" 362 STYLEMENUTITLE="Kies een styl"
359 TERMINALMENU="Terminals" 363 TERMINALMENU="Terminals"
360 WORKSPACEMENU="Werkveld Lijst" 364 WORKSPACEMENU="Werkveld Lijst"
@@ -377,7 +381,8 @@ case ${LC_ALL} in
377 NETMENU="Verkko" 381 NETMENU="Verkko"
378 RELOADITEM="Päivitä" 382 RELOADITEM="Päivitä"
379 RESTARTITEM="Käynnistä uudelleen" 383 RESTARTITEM="Käynnistä uudelleen"
380 STYLEMENU="Tyylit" 384 SYSTEMSTYLES="Tyylit"
385 USERSTYLES="Tyylit"
381 STYLEMENUTITLE="Valitse tyyli" 386 STYLEMENUTITLE="Valitse tyyli"
382 TERMINALMENU="Terminaalit" 387 TERMINALMENU="Terminaalit"
383 WORKSPACEMENU="Työaluet" 388 WORKSPACEMENU="Työaluet"
@@ -400,7 +405,8 @@ case ${LC_ALL} in
400 NETMENU="¥Í¥Ã¥È¥ï¡¼¥¯" 405 NETMENU="¥Í¥Ã¥È¥ï¡¼¥¯"
401 RELOADITEM="ºÆÆɤ߹þ¤ß" 406 RELOADITEM="ºÆÆɤ߹þ¤ß"
402 RESTARTITEM="ºÆµ¯Æ°" 407 RESTARTITEM="ºÆµ¯Æ°"
403 STYLEMENU="¥¹¥¿¥¤¥ë" 408 SYSTEMSTYLES="¥¹¥¿¥¤¥ë"
409 USERSTYLES="¥¹¥¿¥¤¥ë"
404 STYLEMENUTITLE="¥¹¥¿¥¤¥ëÁªÂò..." 410 STYLEMENUTITLE="¥¹¥¿¥¤¥ëÁªÂò..."
405 TERMINALMENU="¥¿¡¼¥ß¥Ê¥ë" 411 TERMINALMENU="¥¿¡¼¥ß¥Ê¥ë"
406 WORKSPACEMENU="¥ï¡¼¥¯¥¹¥Ú¡¼¥¹" 412 WORKSPACEMENU="¥ï¡¼¥¯¥¹¥Ú¡¼¥¹"
@@ -423,7 +429,8 @@ case ${LC_ALL} in
423 NETMENU="Net" 429 NETMENU="Net"
424 RELOADITEM="Recharger config" 430 RELOADITEM="Recharger config"
425 RESTARTITEM="Redémarrer" 431 RESTARTITEM="Redémarrer"
426 STYLEMENU="Styles" 432 SYSTEMSTYLES="Styles de la Systeme"
433 USERSTYLES="Styles"
427 STYLEMENUTITLE="Choisir un style..." 434 STYLEMENUTITLE="Choisir un style..."
428 TERMINALMENU="Terminaux" 435 TERMINALMENU="Terminaux"
429 WORKSPACEMENU="Liste des bureaux" 436 WORKSPACEMENU="Liste des bureaux"
@@ -447,8 +454,9 @@ case ${LC_ALL} in
447 NETMENU="Internet" 454 NETMENU="Internet"
448 RELOADITEM="Rileggi la configurazione" 455 RELOADITEM="Rileggi la configurazione"
449 RESTARTITEM="Riavvia" 456 RESTARTITEM="Riavvia"
450 STYLEMENU="Scegli uno stile..." 457 SYSTEMSTYLES="Stile"
451 STYLEMENUTITLE="Scegli uno stile..." 458 USERSTYLES="Stile"
459 STYLEMENUTITLE="Scegli uno stile"
452 TERMINALMENU="Terminali" 460 TERMINALMENU="Terminali"
453 WORKSPACEMENU="Aree di lavoro" 461 WORKSPACEMENU="Aree di lavoro"
454 XUTILSMENU="X-utils" 462 XUTILSMENU="X-utils"
@@ -600,13 +608,15 @@ fi
600 append_submenu Fluxbox-menu 608 append_submenu Fluxbox-menu
601 append "[config] (${CONFIGUREMENU})" 609 append "[config] (${CONFIGUREMENU})"
602 610
603 611 append_menu "[submenu] (${SYSTEMSTYLES}) {${STYLEMENUTITLE}}"
604 append_menu "[submenu] (${STYLEMENU}) {${STYLEMENUTITLE}}"
605 append "[stylesdir] (${PKGDATADIR}/fluxbox/styles)" 612 append "[stylesdir] (${PKGDATADIR}/fluxbox/styles)"
613 append_menu_end
614
615 append_menu "[submenu] (${USERSTYLES}) {${STYLEMENUTITLE}}"
606 append "[stylesdir] (~/.fluxbox/styles)" 616 append "[stylesdir] (~/.fluxbox/styles)"
607 append_menu_end 617 append_menu_end
608 618
609 if [ $BACKGROUNDMENUITEM="yes" ];then 619 if [ "$BACKGROUNDMENUITEM" = "yes" ];then
610 append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}" 620 append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}"
611 for i in ~/.fluxbox/backgrounds/* ; do 621 for i in ~/.fluxbox/backgrounds/* ; do
612 append "[exec] (`basename "$i"`) {bsetbg -f $i }" 622 append "[exec] (`basename "$i"`) {bsetbg -f $i }"