awesome/tests/examples/naughty/colors.lua

23 lines
507 B
Lua
Raw Normal View History

--DOC_GEN_IMAGE
2017-07-02 04:39:47 +02:00
local beautiful = require("beautiful") --DOC_HIDE
local text = [[An <b>important</b>
<i>notification</i>
]]
--DOC_NEWLINE
require("naughty").notification {
2017-07-02 04:39:47 +02:00
title = "Hello world!",
text = text,
icon = beautiful.icon,
bg = "#0000ff",
fg = "#ff0000",
font = "verdana 14",
border_width = 1,
border_color = "#ff0000"
}
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80