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/i3-gaps.py8
-rw-r--r--profiles/i3-wm.py6
-rw-r--r--profiles/kde.py6
-rw-r--r--profiles/xfce4.py6
8 files changed, 49 insertions, 2 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 8004fc62..fcad1839 100644
--- a/profiles/awesome.py
+++ b/profiles/awesome.py
@@ -25,6 +25,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 dac38bd3..a3225c30 100644
--- a/profiles/cinnamon.py
+++ b/profiles/cinnamon.py
@@ -22,6 +22,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 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.
diff --git a/profiles/i3-gaps.py b/profiles/i3-gaps.py
index 50511dce..f75dfb11 100644
--- a/profiles/i3-gaps.py
+++ b/profiles/i3-gaps.py
@@ -29,7 +29,13 @@ def _post_install(*args, **kwargs):
return True
-if __name__ == 'i3-wm':
+if __name__ == 'i3-wm':
+ # 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')
# gaps is installed by deafult so we are overriding it here
diff --git a/profiles/i3-wm.py b/profiles/i3-wm.py
index cd6cbc81..6d40065c 100644
--- a/profiles/i3-wm.py
+++ b/profiles/i3-wm.py
@@ -29,6 +29,12 @@ def _post_install(*args, **kwargs):
return True
if __name__ == 'i3-wm':
+ # 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')
# we are installing lightdm to auto start i3
diff --git a/profiles/kde.py b/profiles/kde.py
index 0207ed22..dabba57b 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -32,6 +32,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 36c9958a..8e418578 100644
--- a/profiles/xfce4.py
+++ b/profiles/xfce4.py
@@ -23,6 +23,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')