~hristoast/obpmg

An Openbox pipe menu generator that reads data from a YAML file.

clone

read-only
https://git.sr.ht/~hristoast/obpmg
read/write
git@git.sr.ht:~hristoast/obpmg

You can also use your local clone with git send-email.

#obpmg

builds.sr.ht status

Generate an Openbox pipe menu from the contents of a yaml file.

#Installation

go get git.sr.ht/~hristoast/obpmg

#Usage

obpmg --yaml-file /path/to/some/menu.yml

obpmg -n -f /path/to/some/menu.yml

# Sample menu entry, use `obmenu` to create.
<menu execute="obpmg -f /path/to/my-menu.yml" id="pipe-2526" label="My Cool Menu"/>

#Why?

Openbox menus are static and require reloading or restarting all of Openbox to apply any changes.

With obpmg, menus are dynamically generated from the contents of a YAML file. No reloading or restarting is needed when the contents of the YAML are changed; the menu is dynamically loaded.