From 9cbd2e30d65fb084d42d5125ee99339059e2cf84 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 20 Jan 2020 15:06:28 +0100 Subject: [PATCH] xss-lock: fix invocation of notify method --- bin/xss-lock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/xss-lock b/bin/xss-lock index 0f7c1a8..8046725 100755 --- a/bin/xss-lock +++ b/bin/xss-lock @@ -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"