FVWM: xpmbiff, mail notifier for fvwm ButtonBar.

From: Fredrik \Vhrstr\vm <d92-foh_at_nada.kth.se>
Date: Sat, 9 Dec 1995 17:07:57 +0100 (MET)

Hi all fvwm fans.
I wanted xbiff to show in the buttonbar, however I did not want to have a
separate button to start my mailreader. Plus I wanted to have just as
beautiful xpm pixmaps as on the other buttons. Well, since I couldn't
find such a program I wrote one myself. Perhaps there is one already, well
here is mine anyway.
-------------------
xpmbiff is a VERY simple mail notification program. It can display
a colored and shaped window which shows the status of the spoolfile.
It shows an empty icon if it is empty, otherwise a full icon.
When you click on the icon it will start a program of your choice,
probably a mail reader. When the spoolfile increase in size it will
execute another command of your choice, for example:
cat mail.au > /dev/audio

I have typed this in my fvwmrc file:
...
Style "xpmbiff" NoTitle, NoHandles, BorderWidth 0, StaysOnTop
...
*FvwmButtons - Whatever Swallow "xpmbiff" Exec bin/xpmbiff
bin/bitmaps/ettbrev.xpm bin/bitmaps/flerabrev.xpm 3 'xterm -e pine &'
'cat /usr/local/hacks/sounds/effects/youvegotmail.au > /dev/audio' &
...

xpmbiff is in $HOME/bin the bitmaps in $HOME/bin/bitmaps

This is the first version, try it and use it if you like. Please mail me
any comments and suggestions. It is made for being swallowed by GoodStuff
that is why it sets its position to 2000,2000. The pixmaps have to be
the same size.

Fredrik Öhrström d92-foh_at_nada.kth.se
9 December 1995

(I hope I am not filling anybodys spoolfile with this uuencode.
 If I am, mail me and I won't do this ever again.
 Where is the best ftp site to put this?)

begin 600 xpmbiff.tar.gz
M'XL("$VPR3 WAP;6)I9F8N=&%R .U:ZV[;.A(^?^.GF&:!U,YQ?$GJ%(U/
MBN.D26L_at_%\-.FA1%4"@2;6DCB88DQ_9V^YK[*/M[OR$I2[;3%.GE++!KHK5%
M<C_at_S',[EHY7),+CU^OV*_=NO:T2T6ZL1OE_N[*IOHIU=_4U4?UEK[#+%[O;.
M3JWV L_4>-EH_$:_4*55,ZVZ2=6?V K5*OVTIME==TX/VL?':VMK3U[Z4_68
MZ$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(%1:JBL2NJI$JI_6J
M-BN3HG3/D:8)_+)WU%TWZ<1 9XA0!8R7,FB>B60H5&PVL\P>^T+ VO5<$?W]
M]Y3+:\.FI(O)9Q/'F9!:"I257ACHRR$G]9R:ZU%:$C1W-54R Y\+:_U8B#LS
MK,YGN]34+T#XBB9G^#%T=/*=LR-P'K*TX=D$,]N7L<_at_&M!15?^;DZ_6OJ993
MY$G.F$M?+'?)%1_WQ%I9UP_*7>-RKKCV+4];6_:RM:6]+3C=Q_at_8]4ZZ ASG,
M_at_,-=^\SH,)[&B0BH.#_;Y"GC0]OH?)D9]4&;[N]_OU$7(OS[K9H+\1\TZ_Q>
ME^(XZ^1=G*U54C;;VM+CFH&YQV9Q,W89LQ6O.T+M8":W-!=NUV=BDN_at_?"C*E
M-]1O!G.1I48JR72H3B&''-39&^$ER_at_XG/? ,:+(1,BWK\_O_PA\IG$-PMNQD
M9/F^>BL2,H#GC!23*R(-X54V!-19/._E1/X0U7R$/<HJT,CH,489R2%GB!D(
MSDX:N\HW_at_P%6]___E?O_J74G6*E?^3<&].C??Q#5:^;O/VK;+[=?O,1(H]&H
MK?[^XZ]H!>/HN1>+A;6!;=/6_at_+;D[(\>LK=;6_XU\BY_#0/^K->I4/AO[V+5
E5FW55FW5GMI6[_]7[_]7[_]7[_]7[___/]___P>UM<SO # ->I
 
end




--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Dec 09 1995 - 10:08:00 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST