[waimea] Do these features exist?
davidr at novell.com
Wed Mar 9 03:10:25 EET 2005
On Tue, 2005-03-08 at 12:42 -0500, Craig Duquette wrote:
> I just tried
> <menu name="gmail"/>
> <item name="sub" submenu="gmail" string="Gmail" function="readadditionalconfig"
Create a waimea config file that look like this:
<!DOCTYPE waimea SYSTEM "/usr/share/waimea/waimea.dtd">
Save it as '/home/gamma/.config/openbox/scripts/gmail/gmail.conf' or
whatever you like. Then change your menu config to this:
<item name="sub" submenu="gmail" string="Gmail" function="readadditionalconfig"
I might work, but I'm definitely not sure :-)
> 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
More information about the waimea