Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in ruled example #3972

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading