Advertisement
Guest User

set weechat notifications to expire

a guest
Sep 18th, 2012
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.42 KB | None | 0 0
  1. --- notify.py   2012-09-18 15:07:07.235164406 -0400
  2. +++ notify-transient.py 2012-09-18 15:07:35.184505405 -0400
  3. @@ -77,6 +77,7 @@
  4.      wn = pynotify.Notification(chan, message, weechat.config_get_plugin('icon'))
  5.      wn.set_urgency(urgencies[weechat.config_get_plugin('urgency')] or
  6.              pynotify.URGENCY_NORMAL)
  7. +    wn.set_hint('transient', True)
  8.      wn.show()
  9.  
  10.  # vim: autoindent expandtab smarttab shiftwidth=4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement