Initial commit

This commit is contained in:
Christopher Schnick
2024-09-15 08:27:03 +02:00
parent d9b6722d50
commit 8146409283
6 changed files with 785 additions and 0 deletions

21
root/defaults/startwm.sh Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Enable Nvidia GPU support if detected
if which nvidia-smi; then
export LIBGL_KOPPER_DRI2=1
export MESA_LOADER_DRIVER_OVERRIDE=zink
export GALLIUM_DRIVER=zink
fi
# Disable compositing and screen lock
if [ ! -f $HOME/.config/kwinrc ]; then
kwriteconfig5 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
fi
if [ ! -f $HOME/.config/kscreenlockerrc ]; then
kwriteconfig5 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
fi
setterm blank 0
setterm powerdown 0
# Launch DE
/usr/bin/dbus-launch /usr/bin/startplasma-x11 > /dev/null 2>&1