summaryrefslogtreecommitdiff
path: root/experiments/volume/widgets
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-12-16 22:12:45 -0500
committerstreetturtle <streetturtle@gmail.com>2020-12-16 22:12:45 -0500
commit878bd6f0cebf5171c991de1d1c3dedd81e3cd1d3 (patch)
tree445ea76a7e99fb2d386d729ce231568e6cef744b /experiments/volume/widgets
parent30738407d8936a8a73209e7bddce8f22c0d4e35c (diff)
some improvements
Diffstat (limited to 'experiments/volume/widgets')
-rw-r--r--experiments/volume/widgets/horizontal-bar-widget.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/experiments/volume/widgets/horizontal-bar-widget.lua b/experiments/volume/widgets/horizontal-bar-widget.lua
index 865fed6..1a1c8a4 100644
--- a/experiments/volume/widgets/horizontal-bar-widget.lua
+++ b/experiments/volume/widgets/horizontal-bar-widget.lua
@@ -13,7 +13,7 @@ function widget.get_widget(widgets_args)
local mute_color = args.mute_color or beautiful.fg_urgent
local bg_color = args.bg_color or '#ffffff11'
local width = args.width or 50
- local margins = args.height or 10
+ local margins = args.margins or 10
local shape = args.shape or 'bar'
local with_icon = args.with_icon == true and true or false