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 2a27e62 commit 0506bdaCopy full SHA for 0506bda
volume-widget/widgets/horizontal-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 50
16
local margins = args.margins or 10
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 {
@@ -36,7 +36,8 @@ function widget.get_widget(widgets_args)
36
color = main_color,
37
margins = { top = margins, bottom = margins },
38
background_color = bg_color,
39
- shape = gears.shape[shape],
+ shape = shape,
40
+ bar_shape = shape,
41
widget = wibox.widget.progressbar,
42
},
43
spacing = 4,
0 commit comments