summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+