From dc1e0aabb05e5900b76b90846800c203b289e49a Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 16 Aug 2023 19:01:07 +0530 Subject: cwall: use SIGKILL to kill swaybg for now swaybg seems to hang on SIGTERM sometimes --- .local/bin/cwall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/cwall') diff --git a/.local/bin/cwall b/.local/bin/cwall index ad985a9..c20abb3 100755 --- a/.local/bin/cwall +++ b/.local/bin/cwall @@ -76,7 +76,7 @@ updatewall() cp "$1" "$bgimg" [ -s "$bgpid" ] && - kill "$(cat "$bgpid")" + kill -9 "$(cat "$bgpid")" swaybg --mode fill --image "$bgimg" > /dev/null 2>&1 & echo $! > "$bgpid" } -- cgit v1.2.3