screen blanking tweaks

This commit is contained in:
thelamer 2023-03-27 14:39:05 -07:00
parent 55a745d862
commit bde6b7bc26

View File

@ -1,10 +1,11 @@
#!/bin/bash
if [ ! -f /config/.config/kwinrc ]; then
echo '[Compositing]
Enabled=false' > /config/.config/kwinrc
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
xset s 0 0
/usr/bin/startplasma-x11 > /dev/null 2>&1