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

29 lines
660 B
Lua
Raw Normal View History

2016-07-25 06:16:37 +02:00
--DOC_HIDE_ALL
--DOC_GEN_IMAGE
2016-07-25 06:16:37 +02:00
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
}
--DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80