daily pastebin goal
85%
SHARE
TWEET

set weechat notifications to expire

a guest Sep 18th, 2012 258 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top