From 5a4d855242f2283c81a204eac54db5c2fec5afe1 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Sun, 2 May 2021 13:32:25 +0200 Subject: [PATCH] bin/sway_lock: on lock, lock vault --- bin/sway_lock | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/sway_lock b/bin/sway_lock index 747d458..f6a6bcd 100755 --- a/bin/sway_lock +++ b/bin/sway_lock @@ -6,6 +6,7 @@ SCROT_APP=grim SCROT_ARGS=" -t jpeg" LOCK_APP=swaylock LOCK_ARGS=" -f -F -e -c 000000 --indicator-radius 100 --indicator-thickness 20 -i $IMAGE" +BW_APP="/usr/bin/bw" INHIBIT_FILE=$HOME/.inhibit_lock function _clean() { @@ -14,6 +15,7 @@ function _clean() { function _lock() { _check_inhibit $INHIBIT_FILE + $BW_APP lock $LOCK_APP $LOCK_ARGS }