| Quote | 
| Would be nice in the future if we could add color/fonts/styles to individual lines in the fluxbox menu... | 
| Quote | 
| I have been snooping around for a fluxbox config application which will help me with adding xpm-files to the menu | 
| Code Sample | 
#!/bin/bash input_file="${HOME}/.fluxbox/menu" output_file="${HOME}/.fluxbox/icon_menu" icon_dir="${HOME}/.fluxbox/icons" cat /dev/null > ${output_file} cat "${input_file}" | while read line; do command_name=`echo "${line}"|awk -F { '{print $2}'|awk -F } '{print $1}'|awk '{print $1}'|awk -F / '{print $NF}'` icon_name="${icon_dir}/${command_name}.xpm" if [ -f "${icon_name}" ]; then echo "${line} <${icon_name}>" >> ${output_file} else echo "${line}" >> ${output_file} fi done  |