aboutsummaryrefslogtreecommitdiff
path: root/rebar.config
AgeCommit message (Collapse)Author
2026-11-01Build a relx release for running as a systemd serviceHEADmainChristopher R. Nelson
Running the daemon via `rebar3 shell` under systemd exits immediately: stdin is /dev/null, so the interactive shell reads EOF and terminates the VM. Add a relx release (with a prod profile that bundles ERTS) and document running it with `bin/xdg_pipe_menu foreground` instead. Ship a custom vm.args rather than relx's default, which sets a fixed, publicly-known cookie while distribution listens on all interfaces. The node now uses ~/.erlang.cookie, binds distribution to 127.0.0.1, and is named xdg_pipe_menu@localhost so the release script's ping / remote_console / stop can reach it even where the hostname resolves to 127.0.1.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-07-21Rename app from er_xdg_pipe_menu to xdg_pipe_menuChristopher R. Nelson
Drop the "er-" prefix throughout: module/atom names, filenames, socket paths, and docs. It was an implementation detail, not part of the app's identity. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-21Wire up cache, file watcher, and Unix socket daemonChristopher R. Nelson
Adds a gen_server cache holding the rendered menu, an fs/inotify-based watcher that debounces changes and invalidates it, a Unix domain socket serving the cached binary, and the escript client Openbox invokes (with an inline render fallback if the daemon isn't running). Also documents local deployment (systemd user unit, Openbox menu.xml wiring) in the README. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20Initial OTP application skeletonChristopher R. Nelson
rebar3-generated er_xdg_pipe_menu app/supervisor scaffold, to be filled in with XDG .desktop file discovery/parsing and openbox pipemenu generation. MIT licensed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>