From 90aa5cb03c321c671ad8a9624a09af5fc3ef7925 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 8 Sep 2016 15:58:03 +0200 Subject: notification daemon --- notification-daemon | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 notification-daemon diff --git a/notification-daemon b/notification-daemon new file mode 100755 index 0000000..85c4ffb --- /dev/null +++ b/notification-daemon @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +while line = STDIN.gets + if line.strip != "" + `ratpoison -c "echo #{line.strip.split("\n").map {|i| i.strip }.reject {|i| i==''}.join '\n'}"` + end +end + -- cgit v1.2.3