summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-09-08 15:58:03 +0200
committerPatrick Simianer <p@simianer.de>2016-09-08 15:58:03 +0200
commit90aa5cb03c321c671ad8a9624a09af5fc3ef7925 (patch)
tree5a33cfe1e7e8d4be7829af29fa7c89ccddcbf35a
parent3446f963c491f8e11e1eaf0c1050a2eab40b3e64 (diff)
notification daemon
-rwxr-xr-xnotification-daemon8
1 files changed, 8 insertions, 0 deletions
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
+