diff options
author | fluxgen <fluxgen> | 2003-12-29 00:00:28 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-29 00:00:28 (GMT) |
commit | 52869773937f18146f60b617e6c0618bbf40d751 (patch) | |
tree | 0eff0ba31d80cf9ae35b6b19d9f7612445a3e60c /util/fluxbox-generate_menu.in | |
parent | ea184b3566bfee3f720763edf4e11cd27e9cd1d0 (diff) | |
download | fluxbox_pavel-52869773937f18146f60b617e6c0618bbf40d751.zip fluxbox_pavel-52869773937f18146f60b617e6c0618bbf40d751.tar.bz2 |
patch from Han, minor fixes and fbsetbg random background
Diffstat (limited to 'util/fluxbox-generate_menu.in')
-rwxr-xr-x | util/fluxbox-generate_menu.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 8f7ba53..6391462 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -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.in,v 1.5 2003/12/22 01:19:02 fluxgen Exp $ | 25 | # $Id: fluxbox-generate_menu.in,v 1.6 2003/12/28 23:59:57 fluxgen Exp $ |
26 | 26 | ||
27 | # | 27 | # |
28 | # Portability notes: | 28 | # Portability notes: |
@@ -1014,6 +1014,7 @@ append_submenu "${FBSETTINGSMENU}" | |||
1014 | NUMBER_OF_BACKGROUNDS=`find $BACKGROUND_DIRS -follow -type f 2> /dev/null|wc -l` | 1014 | NUMBER_OF_BACKGROUNDS=`find $BACKGROUND_DIRS -follow -type f 2> /dev/null|wc -l` |
1015 | if [ "$NUMBER_OF_BACKGROUNDS" -gt 0 ]; then | 1015 | if [ "$NUMBER_OF_BACKGROUNDS" -gt 0 ]; then |
1016 | append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}" | 1016 | append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}" |
1017 | append "[exec] (random background) {fbsetbg -r ${HOME}/.fluxbox/backgrounds}" | ||
1017 | if [ "$NUMBER_OF_BACKGROUNDS" -gt 30 ]; then | 1018 | if [ "$NUMBER_OF_BACKGROUNDS" -gt 30 ]; then |
1018 | menucounter=1 ; counter=1 | 1019 | menucounter=1 ; counter=1 |
1019 | append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}" | 1020 | append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}" |