Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-09 12:05:51 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-09 12:05:51 +0530
commit1a760c591f773a477da2c18041634610b070cf5a (patch)
treed77a7dc7ac1b61ba1da6d68b6f70c1d49b5bbc5d
parent9d6541aaa6506bcbfbceb3148d20947696cde580 (diff)
Update sway.py
-rw-r--r--profiles/sway.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/profiles/sway.py b/profiles/sway.py
index cf1784e9..15bc9321 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -1,4 +1,4 @@
-import archinstall, os, subprocess
+import archinstall, os
# TODO: Remove hard dependency of bash (due to .bash_profile)
@@ -19,11 +19,7 @@ def _prep_function(*args, **kwargs):
print('Deprecated (??): xorg profile has no _prep_function() anymore')
def _post_install(*args, **kwargs):
- installation.log("We do not ship a default configueration for sway. before you restart you should add one\nsway also does not support a displaymanger offcialy. to start it login and run the command sway")
- try:
- subprocess.check_call("arch-chroot /mnt",shell=True)
- except subprocess.CallProcessError:
- return False
+ installation.log("we use the default configartion shipped by arch linux, if you wish to change it you should chroot into the installation and do it there")
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("kde", "/somewhere/kde.py")
# or through conventional import kde