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

31 lines
646 B
Lua
Raw Normal View History

--DOC_HIDE_START
--DOC_GEN_IMAGE
local wibox = require("wibox")
2016-07-25 06:16:37 +02:00
return {
text = "Before",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
{
--DOC_HIDE_END
2016-07-25 06:16:37 +02:00
{
{
text = "After",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
},
value = 0.5,
max_value = 1,
min_value = 0,
widget = wibox.container.radialprogressbar
2016-07-25 06:16:37 +02:00
},
--DOC_HIDE_START
2016-07-25 06:16:37 +02:00
margins = 5,
layout = wibox.container.margin
}
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80