Initial commit

This commit is contained in:
Nise Void 2020-05-14 20:03:55 +02:00
commit 153479352c
Signed by: NiseVoid
GPG key ID: FBA14AC83EA602F3
18 changed files with 3402 additions and 0 deletions

13
bin/watch-screen Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
xset s 300
xset dpms 300 450 600
while true; do
sleep 1s;
if [ "$(xset q | grep 'Monitor is' | grep -v 'On' 2> /dev/null)" != "" ]; then
if [ "$(ps aux | grep '[i]3lock')" == "" ]; then
lock;
fi
fi
done