summaryrefslogtreecommitdiffstats
path: root/kde/post-install/sddm-qt5.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'kde/post-install/sddm-qt5.post-install')
-rw-r--r--kde/post-install/sddm-qt5.post-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde/post-install/sddm-qt5.post-install b/kde/post-install/sddm-qt5.post-install
new file mode 100644
index 0000000..0bcecce
--- /dev/null
+++ b/kde/post-install/sddm-qt5.post-install
@@ -0,0 +1,11 @@
+# Remove PAM related stuff:
+rm -rf $PKG/etc/pam.d
+
+## Set the KDE4 theme 'elarun' as default, it gives the user more options:
+#sed -i -e "s/^CurrentTheme.*/CurrentTheme=elarun/" $PKG/etc/sddm.conf
+# Set the KDE5 theme 'breeze' as default, integrates better with Plasma 5:
+sed -i -e "s/^CurrentTheme.*/CurrentTheme=breeze/" $PKG/etc/sddm.conf
+
+# Do not clobber existing configuration files:
+mv $PKG/etc/sddm.conf{,.new}
+