Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/kde.py
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-06 18:59:05 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-06 18:59:05 +0530
commit29d939cfcab3a55cd2531ccdeb493e9c4d898560 (patch)
tree4188dde2a2815b9ebb7bf84225dfaa62dfe47c85 /profiles/kde.py
parent5057035f3ed9ad14630c99f90a9bd6ffe095704e (diff)
added egl-wayland and changed prompt
Diffstat (limited to 'profiles/kde.py')
-rw-r--r--profiles/kde.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/profiles/kde.py b/profiles/kde.py
index 09cdab13..04dcaaa4 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -1,6 +1,6 @@
# A desktop environement using "KDE".
-import archinstall, os, shutil
+import archinstall, os
# TODO: Remove hard dependency of bash (due to .bash_profile)
@@ -22,11 +22,11 @@ def _prep_function(*args, **kwargs):
def _post_install(*args, **kwargs):
if "nvidia" in _gfx_driver_packages:
- print("Plasma wayland is currently in an unusable state on Nvidia cards")
+ print("Plasma Wayland has known compatibility issues with the proprietary Nvidia driver")
choice = input("Would you like plasma-wayland to be the default session [Y/n] ").lower()
if choice == "y":
- shutil.move("/usr/share/xsessions/plasma.desktop","/usr/share/xsessions/plasmax11.desktop")
- shutil.move("/usr/share/wayland-sessions/plasmawayland.desktop","/usr/share/wayland-sessions/plasma.desktop")
+ installation.arch_chroot("mv /usr/share/xsessions/plasma.desktop /usr/share/xsessions/plasmax11.desktop")
+ installation.arch_chroot("mv /usr/share/wayland-sessions/plasmawayland.desktop /usr/share/wayland-sessions/plasma.desktop")
# 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