From 73501f04897178319e98d18beab9872b9e8ceb82 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 22 Feb 2024 11:06:07 -0700 Subject: [PATCH] Daemonize swaylock to allow for subsequent actions --- sway/idle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/idle.sh b/sway/idle.sh index c61c471..1dba924 100755 --- a/sway/idle.sh +++ b/sway/idle.sh @@ -117,7 +117,7 @@ elif [[ $1 == "undim" ]]; then $HOME/scripts/thinkpad/blc.pl = $(cat $BLFILE) &>- elif [[ $1 == "lock" ]]; then if [[ $IDLEMODE -gt 2 ]]; then - swaylock -c 00000000 + swaylock -f -c 00000000 fi elif [[ $1 == "unlock" ]]; then kill -USR1 $(pgrep swaylock)