We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0506bda commit 1f24e26Copy full SHA for 1f24e26
volume-widget/widgets/vertical-bar-widget.lua
@@ -14,7 +14,7 @@ function widget.get_widget(widgets_args)
14
local bg_color = args.bg_color or '#ffffff11'
15
local width = args.width or 10
16
local margins = args.height or 2
17
- local shape = args.shape or 'bar'
+ local shape = args.shape or gears.shape.bar
18
local with_icon = args.with_icon == true and true or false
19
20
local bar = wibox.widget {
@@ -38,7 +38,8 @@ function widget.get_widget(widgets_args)
38
margins = { top = margins, bottom = margins },
39
color = main_color,
40
background_color = bg_color,
41
- shape = gears.shape[shape],
+ shape = shape,
42
+ bar_shape = shape,
43
widget = wibox.widget.progressbar,
44
},
45
forced_width = width,
0 commit comments