File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -313,11 +313,13 @@ configure-bluetooth-headset-profile ACTION="prompt":
313313 elif [ " $OPTION" == " Enable (Default)" ] || [ " ${OPTION,,}" == " enable" ]; then
314314 if [ $(find " ${WIREPLUMBER_DIR}" -type f | wc -l) -eq 1 ] && [ -f " ${WIREPLUMBER_DIR}/${WIREPLUMBER_FILE}" ]; then
315315 sudo rm -r " ${WIREPLUMBER_DIR}"
316+ systemctl --user restart wireplumber
317+ echo ' Reverted setting "Bluetooth headset profile" to defaults.'
316318 else
317319 sudo rm " ${WIREPLUMBER_DIR}/${WIREPLUMBER_FILE}"
318- fi
319320 systemctl --user restart wireplumber
320321 echo ' Reverted setting "Bluetooth headset profile" to defaults.'
322+ fi
321323 if [ ! -f " ${WIREPLUMBER_DIR}/${WIREPLUMBER_FILE}" ]; then
322324 printf " \e [1;31mERROR: Bluetooth headset profile is already enabled, no change is made.\e [0m\n " 1 >&2
323325 fi
You can’t perform that action at this time.
0 commit comments