From fbe207a0f9110dc3a686cb85d9f2bea19bc0aef3 Mon Sep 17 00:00:00 2001 From: Andrew Slice Date: Mon, 11 Apr 2022 17:26:01 -0400 Subject: Add notification_position parameters to batteryarc-widget. Add widget_height and widget_width parameters to ram-widget. --- ram-widget/ram-widget.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ram-widget/ram-widget.lua') diff --git a/ram-widget/ram-widget.lua b/ram-widget/ram-widget.lua index 1b5cdcf..867d28e 100644 --- a/ram-widget/ram-widget.lua +++ b/ram-widget/ram-widget.lua @@ -15,6 +15,8 @@ local function worker(user_args) local color_free = args.color_free or beautiful.fg_normal local color_buf = args.color_buf or beautiful.border_color_active local widget_show_buf = args.widget_show_buf or false + local widget_height = args.widget_height or 25 + local widget_width = args.widget_width or 25 --- Main ram widget shown on wibar ramgraph_widget = wibox.widget { @@ -25,7 +27,8 @@ local function worker(user_args) color_buf, }, display_labels = false, - forced_width = 25, + forced_height = widget_height, + forced_width = widget_width, widget = wibox.widget.piechart } -- cgit v1.2.3