fix: pactl needs to be user scoped

This commit is contained in:
mustard 2025-09-15 19:35:59 +02:00
parent 4c2a89da5b
commit 3ca08bdb3e
2 changed files with 14 additions and 2 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Run pactl to work around edge audio bug
After=pipewire-pulse.socket
Requires=pipewire-pulse.socket
[Service]
Type=oneshot
ExecStart=/usr/bin/pactl info
[Install]
WantedBy=default.target

View file

@ -7,8 +7,8 @@
- name: Add pactl service - name: Add pactl service
ansible.builtin.copy: ansible.builtin.copy:
src: 'etc/systemd/system/pactl.service' src: 'etc/systemd/user/pactl.service'
dest: '/etc/systemd/system/pactl.service' dest: '/etc/systemd/user/pactl.service'
mode: '0644' mode: '0644'
- name: Enable pactl service - name: Enable pactl service