Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/i3-wm.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 08:05:12 +0000
committerGitHub <noreply@github.com>2021-04-09 08:05:12 +0000
commitf45429b099d1f22a925b8387e17ab11d675793d0 (patch)
tree3f4cd519d5e5846e6d8a58aaec3da0f5a0e7087a /profiles/i3-wm.py
parentbfb342dc2dabc86cb2390ae792d61ee9fa317ab5 (diff)
parent82c5241946ec96223aebe6453c58845182290fbb (diff)
Merge pull request #247 from dylanmtaylor/patch-3
draft: Cherry-Pick i3 Profiles and Make Common i3 Package
Diffstat (limited to 'profiles/i3-wm.py')
-rw-r--r--profiles/i3-wm.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/profiles/i3-wm.py b/profiles/i3-wm.py
new file mode 100644
index 00000000..4a0415fc
--- /dev/null
+++ b/profiles/i3-wm.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-wm':
+ # install the i3 group now
+ i3 = archinstall.Application(installation, 'i3-wm')
+ i3.install()