From cd1881cf0f425e28bc45b6d34d41e3b02ad7e547 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 17 Mar 2021 01:02:32 +0100
Subject: Make notify-send use its timeout in seconds
---
.local/bin/notify-send | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/notify-send b/.local/bin/notify-send
index 960fc30..8dc67a0 100755
--- a/.local/bin/notify-send
+++ b/.local/bin/notify-send
@@ -49,7 +49,7 @@ main()
"$2" \
"[]" \
"{}" \
- "${timeout:-10000}" \
+ "$((${timeout:-10} * 1000))" \
> /dev/null
if [[ -z "$silent" ]]
--
cgit v1.1