We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c5ad03 commit b18d692Copy full SHA for b18d692
desktop/arch/kde/root/defaults/startwm.sh
@@ -0,0 +1,21 @@
1
+#!/bin/bash
2
+
3
+# Enable Nvidia GPU support if detected
4
+if which nvidia-smi; then
5
+ export LIBGL_KOPPER_DRI2=1
6
+ export MESA_LOADER_DRIVER_OVERRIDE=zink
7
+ export GALLIUM_DRIVER=zink
8
+fi
9
10
+# Disable compositing and screen lock
11
+if [ ! -f $HOME/.config/kwinrc ]; then
12
+ kwriteconfig6 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
13
14
+if [ ! -f $HOME/.config/kscreenlockerrc ]; then
15
+ kwriteconfig6 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
16
17
+setterm blank 0
18
+setterm powerdown 0
19
20
+# Launch DE
21
+/usr/bin/dbus-launch /usr/bin/startplasma-x11 > /dev/null 2>&1
0 commit comments