Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/sway.py
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-09 13:28:12 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-09 13:28:12 +0530
commitb85514ae5e4cdedf00795f165fbcd17abd2cb4fd (patch)
treeafef1d962dc85811e458b7c2c3450b0f6e774bc4 /profiles/sway.py
parent349c3ec5b4e84a1c0df72eb2167fb04a3722b208 (diff)
renamed driver.py to gfx_driver.py. also explictly check if we are using the propritery nvidia drivers
Diffstat (limited to 'profiles/sway.py')
-rw-r--r--profiles/sway.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/sway.py b/profiles/sway.py
index 7a0b9beb..edc3b744 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -16,7 +16,7 @@ def _prep_function(*args, **kwargs):
if hasattr(imported, '_prep_function'):
return imported._prep_function()
else:
- print('Deprecated (??): xorg profile has no _prep_function() anymore')
+ print('Deprecated (??): wayland profile has no _prep_function() anymore')
def _post_install(*args, **kwargs):
choice = input("Would you like to autostart sway on login [Y/n]: ")
@@ -37,8 +37,8 @@ def _post_install(*args, **kwargs):
# or through conventional import kde
if __name__ == 'sway':
# Install dependency profiles
- if "nvidia" in _gfx_driver_packages:
- raise archinstall.lib.exceptions.HardwareIncompatibilityError("sway does not support nvidia cards")
+ if _gfx_driver_packages == 'nvidia':
+ raise archinstall.lib.exceptions.HardwareIncompatibilityError("sway does not the prorpitery nvidia driver try using nouveau")
else:
installation.install_profile('wayland')