mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-25 14:44:51 +02:00
screen blanking tweaks
This commit is contained in:
parent
55a745d862
commit
bde6b7bc26
@ -1,10 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ ! -f /config/.config/kwinrc ]; then
|
if [ ! -f $HOME/.config/kwinrc ]; then
|
||||||
echo '[Compositing]
|
kwriteconfig5 --file $HOME/.config/kwinrc --group Compositing --key Enabled false
|
||||||
Enabled=false' > /config/.config/kwinrc
|
fi
|
||||||
|
if [ ! -f $HOME/.config/kscreenlockerrc ]; then
|
||||||
|
kwriteconfig5 --file $HOME/.config/kscreenlockerrc --group Daemon --key Autolock false
|
||||||
fi
|
fi
|
||||||
setterm blank 0
|
setterm blank 0
|
||||||
setterm powerdown 0
|
setterm powerdown 0
|
||||||
xset s 0 0
|
|
||||||
/usr/bin/startplasma-x11 > /dev/null 2>&1
|
/usr/bin/startplasma-x11 > /dev/null 2>&1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user