diff --git a/awesomerc.lua b/awesomerc.lua index c9124395..6e2a3a6a 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -537,6 +537,24 @@ client.connect_signal("request::titlebars", function(c) layout = wibox.layout.align.horizontal } end) + +-- {{{ Notifications + +ruled.notification.connect_signal('request::rules', function() + -- All notifications will match this rule. + ruled.notification.append_rule { + rule = { }, + properties = { + screen = awful.screen.preferred, + implicit_timeout = 5, + } + } +end) + +naughty.connect_signal("request::display", function(n) + naughty.layout.box { notification = n } +end) + -- }}} -- Enable sloppy focus, so that focus follows mouse.