! ! $Id: XFaces.ad,v 1.10 1994/01/12 18:00:57 liebman Exp $ ! ! Application level resources for xfaces. ! ! ! This is where we look for sounds or images if the file name does not ! begin with a '/' or a './' or a '../'. ! XFaces.soundPath: /usr/sounds XFaces.imagePath: /usr/images ! ! This is where we look for sounds/images named with user@host, ! user, or host. (plus various discusting extensions) ! XFaces.faceSoundPath: /usr/faces/sounds XFaces.faceImagePath: /usr/faces/images ! ! this is the image that will be displayed when there us no mail. ! XFaces.noMailImage: nomail ! ! this is the sound that will be played with no mail. ! XFaces.noMailSound: NoMail ! ! this is the volume sounds will be played with. ! XFaces.volume: 50 ! ! Top level shell resources. ! ! Note we must allow the shell to resize or we will never see more than ! the first face! ! XFaces.allowShellResize: True ! ! Frame resources. ! ! I dont want any borders or gaps between or around the faces. ! XFaces.frame.hSpace: 0 XFaces.frame.vSpace: 0 XFaces.frame.borderWidth: 0 XFaces.frame.internalWidth: 0 XFaces.frame.internalHeight: 0 ! ! General resources for face icons. ! ! All of my faces are 64x64 (you can use other sizes!). Again no ! gaps or borders. ! XFaces.frame.Label.width: 64 XFaces.frame.Label.height: 64 XFaces.frame.Label.internalWidth: 0 XFaces.frame.Label.internelHeight: 0 XFaces.frame.Label.borderWidth: 0 ! ! Button1 will cause all sound for the given face to be played. ! Button2 will check for new mail. ! XFaces.frame.Label.translations: :PlaySounds()\n\ :CheckMail() ! ! I use the before image bindings to catch mailing lists. ! ! By not placeing the extension on the image name allows things to fall ! back to non-shaped and monochrome (if available) when needed. ! XFaces.beforeImageBindings: \ To.*info-andrew: andrew\n\ Cc.*info-andrew: andrew\n\ To.*xannounce@x.org: x\n\ Cc.*xannounce@x.org: x\n\ Cc.*framer: window\n\ From.*framer: window\n\ To.*framer: window\n\ To.*owner-sunflash: sunflash\n\ Cc.*owner-sunflash: sunflash\n\ From.*owner-sunflash: sunflash ! ! Could use this to show a special face for users that we have no face for. ! !XFaces.afterImageBindings: \ ! .*: unknown ! ! Could setup special sounds for mailing lists. ! !XFaces.beforeSoundBindings: \ ! Cc.*foo: train.au ! ! Could setup default sounds if no sound is specified. ! !XFaces.afterSoundBindings: \ ! .*: train.au ! ! For bounced mail. ! XFaces.image.mailer-daemon: mailer-daemon XFaces.sound.mailer-daemon: bong ! ! For mail from uucp. ! XFaces.image.uucp: uucp XFaces.sound.uucp: computer ! ! Mail from root. ! XFaces.image.root: root XFaces.sound.root: busy ! ! I could have different sounds or faces for each of my mail ! addresses. As one of my parents also has the login name of ! liebman I could just use liebman I had to use liebman@host. ! !XFaces.image.liebman: planet.xpm !XFaces.sound.liebman: whistle XFaces.image.liebman@LOCAL: planet.xpm XFaces.sound.liebman@LOCAL: whistle XFaces.image.liebman@zod.clark.net: planet.xpm XFaces.sound.liebman@zod.clark.net: whistle XFaces.image.liebman@clark.net: planet.xpm XFaces.sound.liebman@clark.net: whistle XFaces.image.liebman@xyzzy.xrxedds.com: planet.xpm XFaces.sound.liebman@xyzzy.xrxedds.com: whistle XFaces.image.liebman@xrxedds.com: planet.xpm XFaces.sound.liebman@xrxedds.com: whistle