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:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 14:01:34 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 14:01:34 +0200
commit5e0a192a9ab59199b805e9d37f51eb10f89691f4 (patch)
tree2721d9268422fe8d2f1051ad22bb78e8fbb5fa84 /profiles/i3-gaps.py
parentda12f3630575976d43a6c717235bc273c63da7bd (diff)
parent4664bcf29d31b7caaef2786a3af420a2397f04dd (diff)
Bringing in changes from master
Diffstat (limited to 'profiles/i3-gaps.py')
-rw-r--r--profiles/i3-gaps.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/profiles/i3-gaps.py b/profiles/i3-gaps.py
new file mode 100644
index 00000000..ddca34b7
--- /dev/null
+++ b/profiles/i3-gaps.py
@@ -0,0 +1,17 @@
+import archinstall, subprocess
+
+is_top_level_profile = False
+
+def _prep_function(*args, **kwargs):
+ """
+ Magic function called by the importing installer
+ before continuing any further. It also avoids executing any
+ other code in this stage. So it's a safe way to ask the user
+ for more input before any other installer steps start.
+ """
+ return True
+
+if __name__ == 'i3-gaps':
+ # install the i3 group now
+ i3 = archinstall.Application(installation, 'i3-gaps')
+ i3.install()