doc: fix typo in ruled example (#3972)
This commit is contained in:
parent
208129b728
commit
fcd23a7478
|
@ -11,7 +11,7 @@ beautiful.notification_bg = beautiful.bg_normal --DOC_HIDE
|
||||||
ruled.notification.connect_signal("request::rules", function()
|
ruled.notification.connect_signal("request::rules", function()
|
||||||
-- Add a red background for urgent notifications.
|
-- Add a red background for urgent notifications.
|
||||||
ruled.notification.append_rule {
|
ruled.notification.append_rule {
|
||||||
rule = { app_name = "mdp" },
|
rule = { app_name = "mpd" },
|
||||||
properties = {
|
properties = {
|
||||||
widget_template = {
|
widget_template = {
|
||||||
{
|
{
|
||||||
|
@ -80,10 +80,10 @@ local notif2 = --DOC_HIDE
|
||||||
message = "Harder, Better, Faster, Stronger", --DOC_HIDE
|
message = "Harder, Better, Faster, Stronger", --DOC_HIDE
|
||||||
icon = beautiful.awesome_icon, --DOC_HIDE
|
icon = beautiful.awesome_icon, --DOC_HIDE
|
||||||
icon_size = 128, --DOC_HIDE
|
icon_size = 128, --DOC_HIDE
|
||||||
app_name = "mdp", --DOC_HIDE
|
app_name = "mpd", --DOC_HIDE
|
||||||
} --DOC_HIDE
|
} --DOC_HIDE
|
||||||
|
|
||||||
assert(notif2.app_name == "mdp") --DOC_HIDE
|
assert(notif2.app_name == "mpd") --DOC_HIDE
|
||||||
assert(box) --DOC_HIDE
|
assert(box) --DOC_HIDE
|
||||||
|
|
||||||
box.widget.forced_width = 250 --DOC_HIDE
|
box.widget.forced_width = 250 --DOC_HIDE
|
||||||
|
|
Loading…
Reference in New Issue