9 lines
113 B
Bash
Executable file
9 lines
113 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ $# -ge 1 ]; then
|
|
xset +dpms
|
|
xautolock -enable
|
|
else
|
|
xset -dpms
|
|
xautolock-disable
|
|
fi
|