aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-03-17 01:02:32 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 12:01:16 +0200
commitcd1881cf0f425e28bc45b6d34d41e3b02ad7e547 (patch)
tree910a05574425a3ea1be0bb4b345e827483d969e9
parent1a6cd3a7f9680b60b6df105cc3482bd34dc0f3da (diff)
Make notify-send use its timeout in seconds
-rwxr-xr-x.local/bin/notify-send2
1 files changed, 1 insertions, 1 deletions
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" ]]