Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/i3-gaps.py10
-rw-r--r--profiles/i3-wm.py9
2 files changed, 17 insertions, 2 deletions
diff --git a/profiles/i3-gaps.py b/profiles/i3-gaps.py
index bf8227ba..d9469dcd 100644
--- a/profiles/i3-gaps.py
+++ b/profiles/i3-gaps.py
@@ -1,4 +1,4 @@
-import archinstall
+import archinstall, subprocess
def _prep_function(*args, **kwargs):
"""
@@ -16,6 +16,14 @@ def _prep_function(*args, **kwargs):
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
+def _post_install(*args, **kwargs):
+ """
+ Another magic function called after the system
+ has been installed.
+ """
+ print("the installation of i3 does not conatain any configuerations for the wm. in this shell you take your time should add your configuerations")
+ subprocess.check_call("arch-chroot /mnt",shell=True)
+
if __name__ == 'i3-wm':
# Install dependency profiles
installation.install_profile('xorg')
diff --git a/profiles/i3-wm.py b/profiles/i3-wm.py
index 168abb72..8b541bbf 100644
--- a/profiles/i3-wm.py
+++ b/profiles/i3-wm.py
@@ -1,4 +1,4 @@
-import archinstall
+import archinstall, subprocess
def _prep_function(*args, **kwargs):
"""
@@ -15,6 +15,13 @@ def _prep_function(*args, **kwargs):
return imported._prep_function()
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
+def _post_install(*args, **kwargs):
+ """
+ Another magic function called after the system
+ has been installed.
+ """
+ print("the installation of i3-gaps does not conatain any configuerations for the wm. in this shell you should take your time to add your configuerations")
+ subprocess.check_call("arch-chroot /mnt",shell=True)
if __name__ == 'i3-wm':
# Install dependency profiles