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 7e0bb50..5c9e12d 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;
 }