Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-06 18:04:03 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:46:24 -0400
commitb803c281ea98f71842c7598e428832eaf4a24584 (patch)
tree6013e70e00d939f7ebc99d5cfd41ce48aae3512b /archinstall/lib/user_interaction.py
parent9a6c0e7a41c597d7188c3028a1baaac8f4aa64a9 (diff)
Move choice into guided installation instead of DEs
Arch wiki says packages should enable the user services automatically
Diffstat (limited to 'archinstall/lib/user_interaction.py')
-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 1f5924e4..8062f6e3 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -139,6 +139,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 the pipewire audio server? [Y/n] ").lower()
+ if pipewire_choice == "y":
+ audio = "pipewire"
+
+ return audio
def ask_to_configure_network():
# Optionally configure one network interface.