summaryrefslogtreecommitdiff
path: root/notification-daemon
blob: 7c57dae24cecea8e74bdb128672364f73484e956 (plain)
1
2
3
4
5
6
7
#!/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').gsub(/^notify-send : /, '')}"`
  end
end