Add OPEN_PLMENU option to parse command generated proplist style menus
commitc21ae6b580889d247408123a5c624abf6d784232
authorAndreas Bierfert <andreas.bierfert@lowlatency.de>
Sun, 10 Feb 2013 09:56:20 +0000 (10 10:56 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 10 Feb 2013 11:24:47 +0000 (10 11:24 +0000)
tree6c8ab1ff1a442a0fc66c6b35fac56707436f4b27
parentcc69d2aae38b5563d39d3348cec805ed8b3d753d
Add OPEN_PLMENU option to parse command generated proplist style menus

This patch adds the OPEN_PLMENU options which behaves similar to OPEN_MENU but
can be used to parse command generated proplists. This can be used e.g. in
conjunction with wmmenugen like:
(
    "Generated PL Submenu",
    OPEN_PLMENU,
    "|| find /usr/share/applications -type f -name '*desktop' | xargs
wmmenugen -parser:xdg"
)

v2: code cleanup
src/rootmenu.c