From 9d19e3e0b0c15605534ea2c90cb45df4cc274d28 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 28 Jul 2018 17:14:39 +0200 Subject: [PATCH] widgets: also scale widget width with theme scale --- rc/widgets.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/widgets.lua b/rc/widgets.lua index 0e0afeb..fa87cf7 100644 --- a/rc/widgets.lua +++ b/rc/widgets.lua @@ -134,7 +134,7 @@ local netdownicon = widget({ type = "imagebox" }) netdownicon.image = image(beautiful.icons .. "/widgets/down.png") local netgraph = awful.widget.graph() -netgraph:set_width(80):set_height(16 * theme.scale) +netgraph:set_width(80 * theme.scale):set_height(16 * theme.scale) netgraph:set_stack(true):set_scale(true) netgraph:set_border_color(beautiful.fg_widget_border) netgraph:set_stack_colors({ "#EF8171", "#cfefb3" })