Advertisement
constantin-net

rc.lua diffs noti

Mar 6th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. -- Notifiction killer
  2. function closeLastNoti()
  3.   for s = 1, screen.count() do
  4.     for p,pos in pairs(naughty.notifications[s]) do
  5.       for i,n in pairs(naughty.notifications[s][p]) do naughty.destroy(n) end
  6.     end
  7.   end
  8. end
  9.  
  10.  
  11.  
  12. volumecfg.noti = function ()
  13.     closeLastNoti()
  14.     naughty.notify({font = "Droid Sans 36", position = "bottom_right", screen = screen.count(),  border_width = 0, timeou
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement