4

I want to display the latest NotifyOSD notification in conky, I can display the entire file with

${execi 30 cat ~/.cache/notify-osd.log}

But is it possible to show only the last line of the file? and get it to periodically check the log for changes to the last line?

1
  • 5
    Please answer the question, don't put your solution in the question.
    – Binarylife
    Commented May 12, 2011 at 17:56

1 Answer 1

3

As you pointed out:

I sorted the problem by using this

${execi 30 cat ~/.cache/notify-osd.log| tail -4}

which works perfectly

(source)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .