awesome/tests/examples/wibox/container/defaults/radialprogressbar.lua

26 lines
554 B
Lua
Raw Normal View History

2016-07-25 06:16:37 +02:00
--DOC_HIDE_ALL
local wibox = require("wibox")
return {
text = "Before",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
{
{
{
text = "After",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
value = 0.5,
max_value = 1,
min_value = 0,
widget = wibox.container.radialprogressbar
},
margins = 5,
layout = wibox.container.margin
}