preliminary icon support in fluxbox-generate_menu
This commit is contained in:
parent
c5dc6637a0
commit
84505e56e2
2 changed files with 12 additions and 2 deletions
|
@ -1,5 +1,9 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 0.9.10:
|
||||
*04/08/22:
|
||||
* Preliminary basic support for icons in fluxbox-generate_menu (Han)
|
||||
- put a <progname>.xpm into ~/.fluxbox/icons. e.g. Eterm.xpm
|
||||
fluxbox-generate_menu.in
|
||||
*04/08/19:
|
||||
* Fixes to make nroff not report errors for fbsetbg.1 (Han)
|
||||
fbsetbg.1
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
# DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
# $Id: fluxbox-generate_menu.in,v 1.26 2004/08/19 00:29:10 fluxgen Exp $
|
||||
# $Id: fluxbox-generate_menu.in,v 1.27 2004/08/22 03:45:03 rathnor Exp $
|
||||
|
||||
#
|
||||
# Portability notes:
|
||||
|
@ -143,7 +143,13 @@ case `uname` in
|
|||
esac
|
||||
|
||||
append() {
|
||||
echo " $*" >> ${MENUFILENAME}
|
||||
echo -n " $*" >> ${MENUFILENAME}
|
||||
execname="`echo $*|cut -d\( -f2|cut -d\) -f1`"
|
||||
if [ -r "${HOME}/.fluxbox/icons/$execname.xpm" ]; then
|
||||
echo "<${HOME}/.fluxbox/icons/$execname.xpm>" >> ${MENUFILENAME}
|
||||
else
|
||||
echo >> ${MENUFILENAME}
|
||||
fi
|
||||
}
|
||||
|
||||
append_menu() {
|
||||
|
|
Loading…
Reference in a new issue