We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e64a80 commit c18f5baCopy full SHA for c18f5ba
screen-suspend
@@ -2,20 +2,20 @@
2
3
while getopts hf opt
4
do
5
- case "$opt" in
6
- f) sudo zzz
7
- exit 0;;
8
- h) echo "usage: [-hf]"
9
10
- esac
+ case "$opt" in
+ f) sudo zzz
+ exit 0;;
+ h) echo "usage: [-hf]"
+ esac
11
done
12
13
if [ $(xssstate -s) = "on" ];
14
then
15
- _idle=$(($(xssstate -i) / 1000))
16
- if [ $_idle -gt 600 ];
17
- then
18
- sudo zzz
19
- fi
+ _idle=$(($(xssstate -i) / 1000))
+ if [ $_idle -gt 600 ];
+ then
+ sudo zzz
+ fi
20
fi
21
0 commit comments