summaryrefslogtreecommitdiff
path: root/notification-daemon
blob: 85c4ffb76367eb546ff3c6358ebc7e33168668c0 (plain)
1
2
3
4
5
6
7
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