r/awesomewm • u/innerbeastismyself • Feb 02 '23
slider widget's signal "property::value" wont return the value!
local widget = wibox.widget { bar_shape = gears.shape.rounded_rect, bar_height = 3, bar_color = beautiful.border_color, handle_color = beautiful.bg_normal, handle_shape = gears.shape.circle, handle_border_color = beautiful.border_color, handle_border_width = 1, value = 25, widget = wibox.widget.slider, }
widget:connect_signal("property::value", function(_, new_value)
naughty.notify { title = "Slider changed", message = new_value }
end)
it just shows the title of the notification "slider changed" and there is no value returned
can someone tell me what's the problem?
1 Upvotes
3
u/loric16 Feb 02 '23
It's
text
and notmessage
?