Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profiles/applications/pipewire.py5
-rw-r--r--profiles/awesome.py6
-rw-r--r--profiles/cinnamon.py6
-rw-r--r--profiles/gnome.py8
-rw-r--r--profiles/kde.py6
-rw-r--r--profiles/xfce4.py6
6 files changed, 36 insertions, 1 deletions
diff --git a/profiles/applications/pipewire.py b/profiles/applications/pipewire.py
new file mode 100644
index 00000000..2d9f6a6c
--- /dev/null
+++ b/profiles/applications/pipewire.py
@@ -0,0 +1,5 @@
+import archinstall
+
+__packages__ = ["pipewire", "pipewire-alsa", "pipewire-docs", "pipewire-jack", "pipewire-media-session", "pipewire-pulse", "gst-plugin-pipewire", "libpulse"]
+
+installation.add_additional_packages(__packages__)
diff --git a/profiles/awesome.py b/profiles/awesome.py
index 0b00a424..0bcdfc59 100644
--- a/profiles/awesome.py
+++ b/profiles/awesome.py
@@ -29,6 +29,12 @@ def _prep_function(*args, **kwargs):
# through importlib.util.spec_from_file_location("awesome", "/somewhere/awesome.py")
# or through conventional import awesome
if __name__ == 'awesome':
+ # 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 the application awesome from the template under /applications/
awesome = archinstall.Application(installation, 'awesome')
awesome.install()
diff --git a/profiles/cinnamon.py b/profiles/cinnamon.py
index 91a59811..0c4f13d1 100644
--- a/profiles/cinnamon.py
+++ b/profiles/cinnamon.py
@@ -24,6 +24,12 @@ def _prep_function(*args, **kwargs):
# through importlib.util.spec_from_file_location("cinnamon", "/somewhere/cinnamon.py")
# or through conventional import cinnamon
if __name__ == 'cinnamon':
+ # 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')
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.
diff --git a/profiles/kde.py b/profiles/kde.py
index 6654dfa7..a472394a 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -34,6 +34,12 @@ def _post_install(*args, **kwargs):
# through importlib.util.spec_from_file_location("kde", "/somewhere/kde.py")
# or through conventional import kde
if __name__ == 'kde':
+ # 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')
diff --git a/profiles/xfce4.py b/profiles/xfce4.py
index fee8c37a..ae318317 100644
--- a/profiles/xfce4.py
+++ b/profiles/xfce4.py
@@ -25,6 +25,12 @@ def _prep_function(*args, **kwargs):
# through importlib.util.spec_from_file_location("xfce4", "/somewhere/xfce4.py")
# or through conventional import xfce4
if __name__ == 'xfce4':
+ # 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')