diff options
author | Mathias Gumz <akira@fluxbox.org> | 2015-01-29 12:24:57 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-29 12:24:57 (GMT) |
commit | da285bcb11b862b19f86925e791531d36ea48b46 (patch) | |
tree | 48c7665361213ae0edfdb6cf85a9e20eb70d1b71 /util | |
parent | bf43ba16c417bd39131fd0a3fd8efe48405a8a2c (diff) | |
download | fluxbox-da285bcb11b862b19f86925e791531d36ea48b46.zip fluxbox-da285bcb11b862b19f86925e791531d36ea48b46.tar.bz2 |
Add chrome* to fluxbox-generate_menu
Diffstat (limited to 'util')
-rwxr-xr-x | util/fluxbox-generate_menu.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 33b0153..085d622 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -1522,7 +1522,7 @@ if find_it_options $MY_BROWSER; then | |||
1522 | else | 1522 | else |
1523 | [ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2 | 1523 | [ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2 |
1524 | #The precise order is up for debate. | 1524 | #The precise order is up for debate. |
1525 | for browser in firefox mozilla-firefox mozilla-firebird MozillaFirebird opera skipstone mozilla seamonkey galeon konqueror dillo netscape w3m amaya links lynx; do | 1525 | for browser in firefox mozilla-firefox chrome chromium google-chrome mozilla-firebird MozillaFirebird opera skipstone mozilla seamonkey galeon konqueror dillo netscape w3m amaya links lynx; do |
1526 | if find_it_options $browser; then | 1526 | if find_it_options $browser; then |
1527 | DEFAULT_BROWSER=$browser | 1527 | DEFAULT_BROWSER=$browser |
1528 | break | 1528 | break |
@@ -1586,6 +1586,8 @@ append "[exec] (${DEFAULT_TERMNAME}) {${DEFAULT_TERM}}" | |||
1586 | case "$DEFAULT_BROWSERNAME" in | 1586 | case "$DEFAULT_BROWSERNAME" in |
1587 | links|w3m|lynx) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_TERM} -e ${DEFAULT_BROWSER} ${HOMEPAGE}}" ;; | 1587 | links|w3m|lynx) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_TERM} -e ${DEFAULT_BROWSER} ${HOMEPAGE}}" ;; |
1588 | firefox|firebird|mozilla|seamonkey|phoenix|galeon|dillo|netscape|amaya) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; | 1588 | firefox|firebird|mozilla|seamonkey|phoenix|galeon|dillo|netscape|amaya) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; |
1589 | chrome|chromium) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; | ||
1590 | google-chrome) append "[exec] (${DEFAULT_BROWSERNAME}) {${DEFAULT_BROWSER}}" ;; | ||
1589 | konqueror) append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" ;; | 1591 | konqueror) append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" ;; |
1590 | opera) append "[exec] (opera) {env QT_XFT=true opera}" ;; | 1592 | opera) append "[exec] (opera) {env QT_XFT=true opera}" ;; |
1591 | MozillaFirebird) append "[exec] (firebird) {MozillaFirebird}" ;; | 1593 | MozillaFirebird) append "[exec] (firebird) {MozillaFirebird}" ;; |
@@ -1604,7 +1606,7 @@ append_menu_end | |||
1604 | 1606 | ||
1605 | append_submenu "${NETMENU}" | 1607 | append_submenu "${NETMENU}" |
1606 | append_submenu "${BROWSERMENU}" | 1608 | append_submenu "${BROWSERMENU}" |
1607 | normal_find firefox mozilla-firefox MozillaFirefox galeon mozilla seamonkey dillo netscape vncviewer | 1609 | normal_find chrome chromium firefox google-chrome mozilla-firefox MozillaFirefox galeon mozilla seamonkey dillo netscape vncviewer |
1608 | find_it links append "[exec] (links-graphic) {links -driver x ${HOMEPAGE}}" | 1610 | find_it links append "[exec] (links-graphic) {links -driver x ${HOMEPAGE}}" |
1609 | find_it opera append "[exec] (opera) {env QT_XFT=true opera}" | 1611 | find_it opera append "[exec] (opera) {env QT_XFT=true opera}" |
1610 | find_it konqueror append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" | 1612 | find_it konqueror append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" |