From 97287596e273f5cea7887f23e340571a0d477ebb Mon Sep 17 00:00:00 2001 From: Samuel Hunter Date: Sat, 25 Feb 2017 13:19:53 -0800 Subject: [PATCH] Add naughty presets `ok`, `warn` and `info`. --- lib/naughty/core.lua | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/naughty/core.lua b/lib/naughty/core.lua index 160910a8..53e14575 100644 --- a/lib/naughty/core.lua +++ b/lib/naughty/core.lua @@ -93,7 +93,22 @@ naughty.config.presets = { bg = "#ff0000", fg = "#ffffff", timeout = 0, - } + }, + ok = { + bg = "#00bb00", + fg = "#ffffff", + timeout = 5, + }, + info = { + bg = "#0000ff", + fg = "#ffffff", + timeout = 5, + }, + warn = { + bg = "#ffaa00", + fg = "#000000", + timeout = 10, + }, } --- Defaults for `naughty.notify`.