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-09 11:45:57 -0400
commit9a6c0e7a41c597d7188c3028a1baaac8f4aa64a9 (patch)
tree071320362601c82b5269ffecf65c7ac417a21c03 /profiles/gnome.py
parent5543cb9eda975d1861052b70610c419e320379e0 (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 c75cafee..018ea821 100644
--- a/profiles/gnome.py
+++ b/profiles/gnome.py
@@ -25,13 +25,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.