Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-07 12:55:28 +0000
committerGitHub <noreply@github.com>2021-04-07 12:55:28 +0000
commit87d37193e5ab1bb5c4ec4ee556476c351b8ec440 (patch)
tree621fae82bcbe5352beb3d6aa23badfc739dd8a02 /archinstall
parentd6a92df7896f850a3c7f36c9d299f15a70ee50f7 (diff)
parent50c354471f4c27b0c30153902802fb396c76f2b0 (diff)
Merge PR #208: Temporary incorp of audio selection
Implement PipeWire sound server as an option, merging so we can work on this more. No this will not make it into the release as-is, it's just a working branch and this will change :)
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/user_interaction.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 63630515..c5ff17ca 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -103,6 +103,14 @@ def ask_for_a_timezone():
level=LOG_LEVELS.Warning,
fg='red'
)
+
+def ask_for_audio_selection():
+ audio = "pulseaudio" # Default for most desktop environments
+ pipewire_choice = input("Would you like to install pipewire instead of pulseaudio as the default audio server? [Y/n] ").lower()
+ if pipewire_choice == "y":
+ audio = "pipewire"
+
+ return audio
def ask_to_configure_network():
# Optionally configure one network interface.