Skip to content

Commit

Permalink
doc: fix typo in ruled example (#3972)
Browse files Browse the repository at this point in the history
  • Loading branch information
elig0n authored Oct 27, 2024
1 parent 208129b commit fcd23a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/examples/wibox/nwidget/rules/widget_template.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ beautiful.notification_bg = beautiful.bg_normal --DOC_HIDE
ruled.notification.connect_signal("request::rules", function()
-- Add a red background for urgent notifications.
ruled.notification.append_rule {
rule = { app_name = "mdp" },
rule = { app_name = "mpd" },
properties = {
widget_template = {
{
Expand Down Expand Up @@ -80,10 +80,10 @@ local notif2 = --DOC_HIDE
message = "Harder, Better, Faster, Stronger", --DOC_HIDE
icon = beautiful.awesome_icon, --DOC_HIDE
icon_size = 128, --DOC_HIDE
app_name = "mdp", --DOC_HIDE
app_name = "mpd", --DOC_HIDE
} --DOC_HIDE

assert(notif2.app_name == "mdp") --DOC_HIDE
assert(notif2.app_name == "mpd") --DOC_HIDE
assert(box) --DOC_HIDE

box.widget.forced_width = 250 --DOC_HIDE
Expand Down

0 comments on commit fcd23a7

Please sign in to comment.