Anyone else think it would be cool to use something like this in conjunction with FvwmEvent to modify pager icons? Or has anyone already done this?
I only ask because I think I lack the understanding to do it (atm). I think it's possible... guess I'll find out. On Mon, 2004-03-01 at 05:19, calmar wrote: > "George \"Nephrite\" Potapov" <[EMAIL PROTECTED]> writes: > > > > > How do you make mini screenshot icons? I know the principle how to make > > them but lack a program to take window screenshots. xwd files has strange > > format which xv doesn't process correctly and other screenshot takers requre > > user to click on a window which is not acceptable. > > > I guess they use ImageMagick --> (convert) .. or > something like this: > > from taviso: > > ,---- http://dev.gentoo.org/~taviso/fvwm2rc.html > | DestroyFunc Thumbnail > | AddToFunc Thumbnail > | + I Raise > | + I SetEnv Icon-$[w.id] $[w.iconfile] > | + I ThisWindow (!Shaded Iconifiable !Iconic) PipeRead \ > | "xwd -silent -id $[w.id] | convert -scale $[fvwm_icon_size] -frame 1x1 \ > | -mattecolor black -quality 0 xwd:- png:$[FVWM_USERDIR]/icon.tmp.$[w.id].png \ > | && echo WindowStyle IconOverride, Icon $[FVWM_USERDIR]/icon.tmp.$[w.id].png \ > | || echo Nop" > | + I TestRc (Match) Test (f $[HOME]/icons/$[w.miniiconfile]) PipeRead "composite > -geometry +2+4 \ > | $[HOME]/icons/$[w.miniiconfile] $[FVWM_USERDIR]/icon.tmp.$[w.id].png \ > | $[FVWM_USERDIR]/icon.tmp.$[w.id].png && echo Nop \ > | || echo Beep" > | + I Iconify, > `---- > > Greetings > marco -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
