mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
auto-switch between hsp/hsf and a2dp bluetooth policies
This commit is contained in:
parent
cc758014cc
commit
7f561eb9a0
1 changed files with 9 additions and 0 deletions
|
|
@ -21,6 +21,15 @@
|
|||
notify:
|
||||
- restart pulse as user
|
||||
|
||||
- name: Auto-switch between HSP/HSF and A2DP
|
||||
lineinfile:
|
||||
dest: /etc/pulse/default.pa
|
||||
regex: "^load-module module-bluetooth-policy"
|
||||
state: present
|
||||
line: "load-module module-bluetooth-policy auto_switch=2"
|
||||
notify:
|
||||
- restart pulse as user
|
||||
|
||||
- name: Do not auto power on the bluetooth device
|
||||
command: gsettings set org.blueman.plugins.powermanager auto-power-on false
|
||||
become: yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue