Re: Icons in scrips (Was: Implementing Meta...)

Daniel Engstrom (danne@lillfab.se)
Wed, 9 Sep 1998 11:52:08 +0200 (CEST)


On 8 Sep, Jamie Lokier wrote:
> I would suggest that to stick with Unix "script is an executable" idea,
> there should be some way to embed an icon in a script too, if this is
> the path taken. Obviously most times it would not be used, just perhaps
> by application distributors wanting their icon on the script.

I don't think that would be to hard, consider this:

#!/bin/sh
#/* XPM */
#static char * icon16_xpm[] = {
#"16 16 3 1",
[...]
#/* XPM */
#static char * icon32_xpm[] = {
#"32 32 3 1",
[...]

/Daniel

-- 
************ Daniel Engström   Tech Supoort  ************       
*            Lilla Fabriken     in  Norway              * 
* Norway:   Phone +47-69182030 Mobile +47-91606292      *
* Sweden:   Phone +46-8-286287    Fax +46-8-288802      *
*********************************************************

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html