Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/gnome.py
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-06 17:31:28 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-06 22:18:44 -0400
commit9436ca780586334ad7661a0c606eb95a8353bab3 (patch)
tree7ee026cd9efd8f39ef576d9996c923c007d950dc /profiles/gnome.py
parent39e354f3952e0e0fd1a0c5505640b697eea99c21 (diff)
Begin implementing PipeWire option
Diffstat (limited to 'profiles/gnome.py')
-rw-r--r--profiles/gnome.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/profiles/gnome.py b/profiles/gnome.py
index b37679de..d13e6eee 100644
--- a/profiles/gnome.py
+++ b/profiles/gnome.py
@@ -23,13 +23,19 @@ def _prep_function(*args, **kwargs):
# through importlib.util.spec_from_file_location("gnome", "/somewhere/gnome.py")
# or through conventional import gnome
if __name__ == 'gnome':
+ # Install the pipewire audio server if the user wants to use it
+ pipewire_choice = input("Would you like to install the pipewire audio server? [Y/n] ").lower()
+ if choice == "y":
+ pipewire = archinstall.Application(installation, 'pipewire')
+ pipewire.install()
+
# Install dependency profiles
installation.install_profile('xorg')
# Install the application gnome from the template under /applications/
gnome = archinstall.Application(installation, 'gnome')
gnome.install()
-
+
installation.enable_service('gdm') # Gnome Display Manager
# We could also start it via xinitrc since we do have Xorg,
# but for gnome that's deprecated and wayland is preferred.