diff options
author | Shubham Pawar <31388020+shubham-cpp@users.noreply.github.com> | 2022-04-16 18:30:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 18:30:12 +0530 |
commit | fc7d966cb9f06eb2da2e8998402adc8663d831ee (patch) | |
tree | ed2bd23e6340aab609de1a881c30dadf5116250b /ram-widget/ram-widget.lua | |
parent | 6d1c05decca2fffe87863fceaa163a077360f21d (diff) | |
parent | 8439ca7930e73e17746a1d6f0610417e8a42865f (diff) |
Merge branch 'master' into update-brightnessctl
Diffstat (limited to 'ram-widget/ram-widget.lua')
-rw-r--r-- | ram-widget/ram-widget.lua | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |