[waimea] Do these features exist?

Craig Duquette cduquette at gmail.com
Wed Mar 9 05:41:20 EET 2005


On Wed, 09 Mar 2005 02:10:25 +0100, David Reveman <davidr at novell.com> wrote:
> On Tue, 2005-03-08 at 12:42 -0500, Craig Duquette wrote:
> > I just tried
> >
> >   <menu name="gmail"/>
> >   <include>|/home/gamma/.config/openbox/scripts/gmail/gmail-waimea.py</include>
> > <item name="sub" submenu="gmail" string="Gmail" function="readadditionalconfig"
> >           image="icons/actions.png"/>
> 
> Try this:
> 
> Create a waimea config file that look like this:
> 
> <?xml version="1.0"?>
> <!DOCTYPE waimea SYSTEM "/usr/share/waimea/waimea.dtd">
> <waimea version="0.5.1">
> <include>|/home/gamma/.config/openbox/scripts/gmail/gmail-waimea.py</include>
> </waimea>
> 
> Save it as '/home/gamma/.config/openbox/scripts/gmail/gmail.conf' or
> whatever you like. Then change your menu config to this:
> 
> <menu name="gmail"/>
> <include>/home/gamma/.config/openbox/scripts/gmail/gmail.conf</include>
> <item name="sub" submenu="gmail" string="Gmail" function="readadditionalconfig"
>       parameter="/home/gamma/.config/openbox/scripts/gmail/gmail.conf"
>       image="icons/actions.png"/>
> 
> I might work, but I'm definitely not sure :-)
> 
> good luck!
> 
> >
> >  and it only refreshes once on startup still. Did I put it in the
> > right place? Also this is my first time using a mailing list, so I'm
> > not sure if I should be responding to the whole list, or how to go
> > about doing that.
> 
> It's up to you but it's always nice to CC the list.
> 
> >
> > Thanks for helping getting keybindings working :D.
> >
> >
> > On Tue, 08 Mar 2005 15:07:05 +0100, David Reveman <davidr at novell.com> wrote:
> > > On Tue, 2005-03-08 at 00:49 -0500, Craig Duquette wrote:
> > > > Hi! I just tried Waimea for the first time today and love it. I came
> > > > from OB3 and was wondering if these two features exist.. 1st, is there
> > > > a way to make a script execute and refresh everytime the menu item is
> > > > opened? Right now it only updates the 1st time it's opened after a
> > > > refresh or startup.
> > >
> > > You should be able to get this working. Styles, action-lists and menus
> > > can all be updated dynamically. You can use the 'readadditionalconfig'
> > > action for this. By setting menu item function to readadditionalconfig
> > > and parameter to a config file that will update your menu it could work.
> > > You might have to make sure that menuperform is executed before the menu
> > > is mapped, don't really remember all this that well, long time since I
> > > played with this.
> > >
> > > >
> > > > 2nd is there any way to execute a command using keybinds? I want to
> > > > map the Windows Key + t to open the terminal.
> > >
> > > This should be easy. There's an example in the CVS tree. In waimea/data
> > > there's a pre-action.conf file, place that one in ~/.waimea/ and
> > > standard action files should read it. And of course edit it to work the
> > > way you want.
> > >
> > > -David
> > >
> > > _______________________________________________
> > > waimea mailing list
> > > waimea at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/waimea
> > >
> 
> -David
> 
> 
Nope, no luck with that, it ended up blowing up and opening a bunch of
submenus until it crashed. I tried editting the format, but then it
just opened upon startup :/. Any other ideas?



More information about the waimea mailing list