aboutsummaryrefslogtreecommitdiff
path: root/test/er_xdg_pipe_menu_cache_tests.erl
diff options
context:
space:
mode:
authorChristopher R. Nelson <christopher.nelson@languidnights.com>2026-07-20 23:03:25 -0400
committerChristopher R. Nelson <christopher.nelson@languidnights.com>2026-07-20 23:03:25 -0400
commit6bbc784b4cf0717ddc7f5c3ad32c1d5e2d486877 (patch)
tree3aba5c36f02e035866bc0b30fb2b57823ff3271e /test/er_xdg_pipe_menu_cache_tests.erl
parent7db20cd2ac2c8b8774a8ae02a7b233541666c865 (diff)
Add Openbox pipe menu renderer
render/1 turns a list of #desktop_entry{} into the XML Openbox expects on stdout from a pipe menu: hidden entries dropped, remaining ones sorted case-insensitively by name, each as an <item> wrapping an Execute action with its command and (if present) icon attribute. XML-escapes label/command/icon values. Icon values are passed through as-is (theme icon names, not resolved paths) -- icon theme resolution is left for later, separate from rendering. Service wiring (scan -> parse -> render, with caching and invalidation) is also left for later. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'test/er_xdg_pipe_menu_cache_tests.erl')
0 files changed, 0 insertions, 0 deletions