Hi, I have set the default naughty screen to my second screen, but some programs like Transmission or Claws Mail create notifications that appear always in the first screen, this happens because they don't set the urgency hint, and the code in naughty.lua don't apply the default preset in that case.
First it have this: args = { preset = { } } but when the match loop fails to match to one of the presets, the preset remains {}, and because of that it never fails the first condition of the following 'or': local preset = args.preset or config.default_preset or {} I suggest this patch in lib/naughty.lua: @@ -272,7 +272,7 @@ -- @return The notification object function notify(args) -- gather variables together - local preset = args.preset or config.default_preset or {} + local preset = args.preset local timeout = args.timeout or preset.timeout or 5 local icon = args.icon or preset.icon local icon_size = args.icon_size or preset.icon_size @@ -462,7 +462,7 @@ -- Notify if capi.dbus then capi.dbus.add_signal("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire) - args = { preset = { } } + args = { preset = config.default_preset } if data.member == "Notify" then if text ~= "" then args.text = text -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.