chiark / gitweb /
bin/disorder-notify: Raise the notification timeout back to 5s.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 13:29:22 +0000 (14:29 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 21 Jul 2018 14:57:58 +0000 (15:57 +0100)
I reduced it because it seemed too long when I was testing it, but when
you do that you're expecting to see the notification.  In reality, what
happens is that this thing flickers in the corner of the screen, your
eye moves over to it, and then it vanishes just before you can read it
properly.  This is a little counterproductive.

bin/disorder-notify

index 7e0bb5038d365c79dd59e9ae26593837c85998b6..5c9e12df607075c40ddcb4b39b9870a329602fc3 100755 (executable)
@@ -12,7 +12,7 @@ sub notify ($$) {
       "-o", "/org/freedesktop/Notifications",
       "-m", "org.freedesktop.Notifications.Notify", "--",
       "DisOrder", "0", "audio-volume-high",
-      $head, $body, "[]", "{}", "2500";
+      $head, $body, "[]", "{}", "5000";
   }
   waitpid $kid, 0;
 }