Add pipewire tasks
This commit is contained in:
parent
26ec1f97a6
commit
1da6537ad8
3 changed files with 31 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
- import_tasks: 'tasks/mpv.yml'
|
- import_tasks: 'tasks/mpv.yml'
|
||||||
- import_tasks: 'tasks/mpd.yml'
|
- import_tasks: 'tasks/mpd.yml'
|
||||||
- import_tasks: 'tasks/syncthing.yml'
|
- import_tasks: 'tasks/syncthing.yml'
|
||||||
|
- import_tasks: 'tasks/pipewire.yml'
|
||||||
- import_tasks: 'tasks/timer.yml'
|
- import_tasks: 'tasks/timer.yml'
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: 'handlers.yml'
|
- import_tasks: 'handlers.yml'
|
||||||
|
|
|
||||||
27
tasks/pipewire.yml
Normal file
27
tasks/pipewire.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
- name: stop pulseaudio service
|
||||||
|
systemd:
|
||||||
|
name: pulseaudio.service
|
||||||
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
scope: user
|
||||||
|
|
||||||
|
- name: stop pulseaudio socket
|
||||||
|
systemd:
|
||||||
|
name: pulseaudio.socket
|
||||||
|
state: stopped
|
||||||
|
enabled: false
|
||||||
|
scope: user
|
||||||
|
|
||||||
|
- name: start pipewire socket
|
||||||
|
systemd:
|
||||||
|
name: pipewire.socket
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
scope: user
|
||||||
|
|
||||||
|
- name: start pipewire-pulse socket
|
||||||
|
systemd:
|
||||||
|
name: pipewire-pulse.socket
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
scope: user
|
||||||
|
|
@ -26,5 +26,8 @@ packages:
|
||||||
- cantata
|
- cantata
|
||||||
- reflector
|
- reflector
|
||||||
- laptop-detect
|
- laptop-detect
|
||||||
|
- pipewire
|
||||||
|
- pipewire-pulse
|
||||||
|
- pipewire-alsa
|
||||||
|
|
||||||
platform_packages: []
|
platform_packages: []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue