xss-lock: fix invocation of notify method

This commit is contained in:
Vincent Bernat 2020-01-20 15:06:28 +01:00
parent 768e95d8a8
commit 9cbd2e30d6

View file

@ -1,5 +1,6 @@
#!/bin/bash
me="$(readlink -f "$0")"
timeout=300
notify=10
@ -15,7 +16,7 @@ unconfigure() {
case "$1" in
start)
configure
exec xss-lock -s ${XDG_SESSION_ID} -n "$me notify" -l "$(readlink -f "$0")" lock
exec xss-lock -s ${XDG_SESSION_ID} -n "$me notify" -l $me lock
;;
dim|notify)
echo "notify: start"