Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/i3-gaps.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/i3-gaps.py
parent39e354f3952e0e0fd1a0c5505640b697eea99c21 (diff)
Begin implementing PipeWire option
Diffstat (limited to 'profiles/i3-gaps.py')
-rw-r--r--profiles/i3-gaps.py8
1 files changed, 7 insertions, 1 deletions
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