switch to pipewire

I uninstalled pulseaudio, pulseaudio-bluetooth and pulseaudio-alsa
before running this. I think that is unnecessary and the pipewire-pulse
package will resolve any conflicts. But who knows.

For my audio needs, pipewire seems to be a drop-in replacement now. I
notice no difference.

Closes #95
This commit is contained in:
Pig Monkey 2021-09-15 18:31:23 -07:00
parent bfd5208983
commit 50e9387cc1
3 changed files with 4 additions and 31 deletions

View file

@ -1,12 +1,4 @@
---
- name: Install PulseAudio bluetooth with LDAC/aptX support
pacman:
name:
- libldac
- pulseaudio-bluetooth
notify:
- restart pulse as user
- name: Install bluetooth libraries and tools
pacman:
name:

View file

@ -1,7 +1,7 @@
---
- name: restart pulse as user
systemd:
name: pulseaudio.service
name: pipewire-pulse.service
scope: user
state: restarted
become: yes

View file

@ -4,34 +4,15 @@
name: alsa-utils
state: present
- name: Install PulseAudio
- name: Install Pipewire
pacman:
name:
- pulseaudio
- pulseaudio-alsa
- pipewire
- pipewire-pulse
- pavucontrol
state: present
- name: Switch output to newly connected devices
lineinfile:
dest: /etc/pulse/default.pa
state: present
line: "load-module module-switch-on-connect"
- name: Install pasystray
pacman:
name: pasystray
state: present
- name: Install pulseaudio-ctl
aur:
name: pulseaudio-ctl
user: "{{ user.name }}"
tags:
- aur
- name: Push pamute
copy:
src: pamute/pamute
dest: /usr/local/bin/pamute
mode: 0755