2016-05-25 23:22:44 +02:00
|
|
|
local parent = ... --DOC_HIDE
|
|
|
|
local wibox = require("wibox") --DOC_HIDE
|
2016-07-25 03:46:37 +02:00
|
|
|
local gears = {shape = require("gears.shape") } --DOC_HIDE
|
|
|
|
local beautiful = require("beautiful") --DOC_HIDE
|
2016-05-25 23:22:44 +02:00
|
|
|
|
|
|
|
parent:add( --DOC_HIDE
|
|
|
|
|
2016-12-27 21:39:08 +01:00
|
|
|
wibox.widget {
|
|
|
|
max_value = 1,
|
|
|
|
value = 0.33,
|
|
|
|
forced_height = 20,
|
|
|
|
forced_width = 100,
|
|
|
|
shape = gears.shape.rounded_bar,
|
|
|
|
border_width = 2,
|
|
|
|
border_color = beautiful.border_color,
|
|
|
|
widget = wibox.widget.progressbar,
|
|
|
|
}
|
2016-05-25 23:22:44 +02:00
|
|
|
|
2016-12-27 21:39:08 +01:00
|
|
|
) --DOC_HIDE
|