Re: Naughty Notifications on multiple monitors

2015-06-03 Thread Abraham Baker
That actually works, but also generates an error (in the form of a critical notification on both screens) at the same time: /usr/share/awesome/lib/naughty.lua:600: attempt to index a nil value For context, line 600 is: local id = naughty.notify(args).id Looks like this is close to working right!

Re: Naughty Notifications on multiple monitors

2015-06-03 Thread Elv1313 .
This should help: local naughty = require('naughty') naughty.notify_ = naughty.notify naughty.notify = function (args,...) for i = 1, screen.count() do args.screen = i naughty.notify_(args,...) end end On 3 June 2015 at 10:42, Abraham Baker wrote: > I tried adding that code r

Re: Naughty Notifications on multiple monitors

2015-06-03 Thread Abraham Baker
I tried adding that code right after the local naughty = require("naughty") that was already there, but it didn't work and actually stopped any notifications from showing on any monitor. I doubt it was the cause, but some other functions in my rc.lua also use local i as a counter; these shouldn't

Re: Naughty Notifications on multiple monitors

2015-06-03 Thread Alexis BRENON
Hi Abraham, you have to call the anughty.notift() function twice, once for each screen. Maybe you can define a function which do it for you : local naughty = require('naughty') naughty.notify = function (args) local i = 1 while i <= screen.count() do args.screen = i naughty.notify(args) e

Naughty Notifications on multiple monitors

2015-06-03 Thread Abraham Baker
Hi, I have a standing/sitting monitor arrangement on my desk that makes it hard to see notifications on the upper monitor while sitting and vice versa. I've been trying to change the default naughty config so notifications appear on both monitors at once, but so far I'm only able to just change wh

Re: advices for widget

2015-06-03 Thread Abraham Baker
For automatically mounting usb drives with an icon in the tray to control mounting/unmounting, installing udiskie and then running udiskie --tray works well. https://github.com/coldfix/udiskie https://awesome.naquadah.org/wiki/Automounting#Udiskie On Wed, Jun 3, 2015 at 3:28 AM, SÅ‚awomir Kowalews

Re: advices for widget

2015-06-03 Thread SÅ‚awomir Kowalewski
Hi Mickael, There is also very nice lain widget library and here you can see same examples and ready to use configs https://github.com/copycat-killer/awesome-copycats On 3 June 2015 at 08:45, Alexis BRENON wrote: > Hi Mickael, > > For battery state and volume control, I use Vicious library ( >

Re: advices for widget

2015-06-03 Thread Alexis BRENON
Hi Mickael, For battery state and volume control, I use Vicious library ( https://awesome.naquadah.org/wiki/Vicious) I use it also for clock but I implemented calendar manually, based on the work of Vincent Bernat ( https://github.com/AlexisBRENON/awesome-configuration/blob/master/backend/datetime