Initial commit
This commit is contained in:
커밋
153479352c
18개의 변경된 파일과 3402개의 추가작업 그리고 0개의 파일을 삭제
13
bin/watch-screen
Executable file
13
bin/watch-screen
Executable 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
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue