mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 11:44:21 +02:00
xss-lock: fix invocation of notify method
This commit is contained in:
parent
768e95d8a8
commit
9cbd2e30d6
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue