awesome/tests/examples/naughty/actions.lua

21 lines
524 B
Lua
Raw Normal View History

2017-07-02 04:39:47 +02:00
--DOC_NO_USAGE
--DOC_HIDE_ALL
--DOC_GEN_IMAGE
2017-07-02 04:39:47 +02:00
-- local naughty = require("naughty")
dbus.notify_send(
--[[data]] {
member = "Notify",
},
--[[app_name]] "Notification demo",
--[[replaces_id]] nil,
--[[icon]] "",
--[[title]] "You got a message!",
--[[text]] "This is a message from above.\nAwesomeWM is your faith.",
{"Accept", "Dismiss", "Forward"},
--[[hints]] {},
--[[expire]] 5
)
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80