Keep notifications for 10 seconds

main
Julius Riegel 8 months ago
parent 21fc519cd5
commit c55d0b2684

@ -56,7 +56,7 @@ export def last-notification [] {
if not (task group exists "notify") { if not (task group exists "notify") {
task group add notify -p 4 task group add notify -p 4
} }
task spawn -d 5sec -g notify { task spawn -d 10sec -g notify {
if (shasum $env.NOTIFY_FILE) == $env.NTFY_CHKSUM { if (shasum $env.NOTIFY_FILE) == $env.NTFY_CHKSUM {
"" | save -f $env.NOTIFY_FILE "" | save -f $env.NOTIFY_FILE
} }

Loading…
Cancel
Save