Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/default_profiles/desktops/plasma.py
diff options
context:
space:
mode:
authorMartin <martin@rys.pw>2024-04-19 14:47:18 +0200
committerGitHub <noreply@github.com>2024-04-19 22:47:18 +1000
commit0ea6dbbd7677b94e863b2ab333431716886b5f84 (patch)
treea9497f996189edb66790f609acf5efd54f2b2da6 /archinstall/default_profiles/desktops/plasma.py
parentf7913f46eede7a2aad7d60faf5cd50a1acf92c03 (diff)
Rename "Kde" profile to the correct "KDE Plasma" / "Plasma" (#2421)
* schema.json: Remove dead misspelled i3-gasp profile * schema.json: Rename KDE Plasma profile to the correct "Plasma" shorthand * Rename to KDE Plasma in user facing parts and keep the old "Kde" profile for now * Add back an accidental deleted character * Backwards compat v2
Diffstat (limited to 'archinstall/default_profiles/desktops/plasma.py')
-rw-r--r--archinstall/default_profiles/desktops/plasma.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/archinstall/default_profiles/desktops/plasma.py b/archinstall/default_profiles/desktops/plasma.py
new file mode 100644
index 00000000..bcc1ea1b
--- /dev/null
+++ b/archinstall/default_profiles/desktops/plasma.py
@@ -0,0 +1,27 @@
+from typing import List, Optional, Any, TYPE_CHECKING
+
+from archinstall.default_profiles.profile import ProfileType, GreeterType
+from archinstall.default_profiles.xorg import XorgProfile
+
+if TYPE_CHECKING:
+ _: Any
+
+class PlasmaProfile(XorgProfile):
+ def __init__(self):
+ super().__init__('KDE Plasma', ProfileType.DesktopEnv, description='')
+
+ @property
+ def packages(self) -> List[str]:
+ return [
+ "plasma-meta",
+ "konsole",
+ "kwrite",
+ "dolphin",
+ "ark",
+ "plasma-workspace",
+ "egl-wayland"
+ ]
+
+ @property
+ def default_greeter_type(self) -> Optional[GreeterType]:
+ return GreeterType.Sddm