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 #!/bin/bash
me="$(readlink -f "$0")"
timeout=300 timeout=300
notify=10 notify=10
@ -15,7 +16,7 @@ unconfigure() {
case "$1" in case "$1" in
start) start)
configure 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) dim|notify)
echo "notify: start" echo "notify: start"