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
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-08 09:51:11 -0400
commit56df79d647b8058bd7160238a418ef8606aef0b7 (patch)
treefbf698751fabd631b7fb9ea91290866784513f36 /profiles/kde.py
parent130f5729a0939281e8bd2ccc22bfd6c1d3b35c43 (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 89ff236f..7276f095 100644
--- a/profiles/kde.py
+++ b/profiles/kde.py
@@ -1,6 +1,6 @@
# A desktop environment 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