2017-05-03 13:13:50 +00:00
|
|
|
#!/usr/bin/env ssm
|
2017-05-03 13:10:13 +00:00
|
|
|
|
|
|
|
service_respawn='true'
|
|
|
|
service_command="$HOME/bin/lockd"
|
2017-05-03 13:13:50 +00:00
|
|
|
service_args=( i3lock-extra -s -o ~/pics/lock.png -g -p )
|
|
|
|
|
|
|
|
lock() {
|
|
|
|
kill -USR1 "$service_pid"
|
|
|
|
}
|