diff --git a/src/util/wallpapurr.nim b/src/util/wallpapurr.nim index 4024b8b..28b9b0c 100644 --- a/src/util/wallpapurr.nim +++ b/src/util/wallpapurr.nim @@ -70,6 +70,7 @@ proc getCurrSwayBGPID(): string = return pid.output proc killCurrSwayBGPID(pid: string) = + sleep 2000 discard execCmd("kill " & pid) @@ -88,7 +89,7 @@ proc setLast() = notify.send("Setting Background to Last", LAST) if isWayland(): let pid = getCurrSwayBGPID() - let swaybg = "killall swaybg; swaybg -m fill -i " & LAST.escape & " &" + let swaybg = "swaybg -m fill -i " & LAST.escape & " &" discard execCmd(swaybg) killCurrSwayBGPID(pid) else: diff --git a/wm_tools.nimble b/wm_tools.nimble index f4eb1a8..dd86a75 100644 --- a/wm_tools.nimble +++ b/wm_tools.nimble @@ -1,6 +1,6 @@ # Package -version = "2.0.6" +version = "2.0.7" author = "Paul Wilde" description = "A set of informational tools" license = "AGPL-3.0-or-later"