[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: Menu include plugin
From: smoynes () nerdnest ! org (Scott Moynes)
Date: 2003-07-22 1:07:41
Message-ID: 20030722010741.GH31274 () marilyn
[Download RAW message or body]
Here is a first crack at a plugin to include external menus.
http://www.nerdnest.org/~woodblock/bitbucket/menu-include-plugin.diff
Example from my rc3 file:
<menu id="fonkers" label="jazz" plugin="include_menu"
filename="/home/woodblock/.openbox/included_menu"></menu>
Example included_menu:
<?xml version="1.0"?>
<menu>
<item label="Mozilla">
<action name="execute"><execute>mozilla</execute></action>
</item>
<item label="Gaim">
<action name="execute"><execute>gaim</execute></action>
</item>
<item label="Quark">
<action name="execute"><execute>strange-quark</execute></action>
</item>
</menu>
Questions and comments appreciated.
Scott.
--
Scott Moynes http://www.icculus.org/openbox/
"Computer science is as much about computers
as astronomy is about telescopes." -- Dijkstra
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic