aboutsummaryrefslogtreecommitdiff
path: root/.local/etc/x/xinit.d/kde.rc
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-04-28 18:08:25 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-04-28 18:09:38 +0200
commit960ab8cc5d8687f572d571ee646e11cf3bbedab4 (patch)
tree6611b8d8f244909ca255f99aaac7bdddc681948e /.local/etc/x/xinit.d/kde.rc
parent8f087701558dee00635fd553c3bb66bbf35c9796 (diff)
Make updates to run KDE as desired in both openrc and systemd
Diffstat (limited to '.local/etc/x/xinit.d/kde.rc')
-rw-r--r--.local/etc/x/xinit.d/kde.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/.local/etc/x/xinit.d/kde.rc b/.local/etc/x/xinit.d/kde.rc
new file mode 100644
index 0000000..f023808
--- /dev/null
+++ b/.local/etc/x/xinit.d/kde.rc
@@ -0,0 +1,13 @@
+# start dbus if necessary
+[ -f "/etc/X11/xinit/xinitrc.d/80-dbus" ] && source /etc/X11/xinit/xinitrc.d/80-dbus
+
+# Background services
+xcompmgr &
+redshift -l 51.50:4.59 &
+
+# Export additional environment vars
+export KDEWM=hersbtluftwm
+export WINIT_X11_SCALE_FACTOR=1
+
+# Start KDE
+exec dbus-launch --exit-with-session startplasma-x11