Skip to content

customize/apps/pulse-effects: add .pa config support, refactor preset paths#223

Merged
semseysandor merged 2 commits intomainfrom
copilot/add-support-for-user-defined-pa-files
Mar 14, 2026
Merged

customize/apps/pulse-effects: add .pa config support, refactor preset paths#223
semseysandor merged 2 commits intomainfrom
copilot/add-support-for-user-defined-pa-files

Conversation

Copy link
Contributor

Copilot AI commented Mar 14, 2026

Extends the pulse-effects module to support user-defined PulseAudio .pa config files, and reorganizes the profile directory structure for presets.

Changes

  • Preset path refactor: moved preset lookup from apps/pulse-effects/global.d / local.d to apps/pulse-effects/preset / preset/local.d
  • New .pa config support: added _install-config() — installs .pa files from apps/pulse-effects/config (and config/local.d for local overrides) into /etc/pulse/default.pa.d/ with sudo install --mode=0644
  • Example profile: renamed global.d/preset/; added config/zephyr.pa as a sample config
  • Docs: updated docs/reference/modules.md to document all four new profile paths

New profile layout

apps/pulse-effects/
├── preset/          # global output presets  (was: global.d/)
│   └── local.d/     # profile-specific presets  (was: local.d/)
├── config/          # .pa files → /etc/pulse/default.pa.d/  [new]
│   └── local.d/     # profile-specific .pa files  [new]
Original prompt

improve customize/apps/pulse-effects module by adding a new feature: support for a user-defined .pa files to configure pulse-effects. This config file is stored in the profile (apps/pulse-effects/config). When running this module, this file is installed into /etc/pulse/default.pa.d/ directory. Refactor the module to look for presets in `apps/pulse-effects/preset. Update examples and docs too.

The user has attached the following file paths as relevant context:

  • .github/copilot-instructions.md

Created from VS Code.


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Copilot AI changed the title [WIP] Add support for user-defined .pa files in pulse-effects module customize/apps/pulse-effects: add .pa config support, refactor preset paths Mar 14, 2026
Copilot AI requested a review from semseysandor March 14, 2026 12:31
@semseysandor semseysandor force-pushed the copilot/add-support-for-user-defined-pa-files branch from 4f4c1da to fa712bc Compare March 14, 2026 19:58
@semseysandor semseysandor marked this pull request as ready for review March 14, 2026 19:58
Copilot AI and others added 2 commits March 14, 2026 21:01
…set paths

Co-authored-by: semseysandor <51154903+semseysandor@users.noreply.github.com>
@semseysandor semseysandor force-pushed the copilot/add-support-for-user-defined-pa-files branch from 5dc357b to 55d82aa Compare March 14, 2026 20:01
@semseysandor semseysandor merged commit ee244c8 into main Mar 14, 2026
15 checks passed
@semseysandor semseysandor deleted the copilot/add-support-for-user-defined-pa-files branch March 14, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants