update to use kde6 bins to disable screen locking

This commit is contained in:
thelamer 2024-12-17 12:10:13 -05:00
parent cc15b7fd9c
commit 06e0477136

View File

@ -9,10 +9,10 @@ fi
# Disable compositing and screen lock
if [ ! -f $HOME/.config/kwinrc ]; then
kwriteconfig5 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
kwriteconfig6 --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
kwriteconfig6 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
fi
setterm blank 0
setterm powerdown 0