summaryrefslogtreecommitdiff
path: root/net-speed-widget
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-11-05 17:16:23 -0600
committerzachir <zachir@librem.one>2023-11-05 17:16:23 -0600
commita1cd133f38ab5f6b3c80e4e74a0a45e1c6326b11 (patch)
tree87aa9e750e9b5778d34e45be0fe51803938dad40 /net-speed-widget
parent6ca46530b2c59d21ec83cb86a2dfc07f1e00f073 (diff)
Use beautiful.font or args.font for widgets
Diffstat (limited to 'net-speed-widget')
-rw-r--r--net-speed-widget/net-speed.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/net-speed-widget/net-speed.lua b/net-speed-widget/net-speed.lua
index 86b8d33..31c701f 100644
--- a/net-speed-widget/net-speed.lua
+++ b/net-speed-widget/net-speed.lua
@@ -55,11 +55,10 @@ local function worker(user_args)
local args = user_args or {}
- local font = args.font or beautiful.font2 or 'mononoki Nerd Font Mono 12'
-
+ local font = args.font or beautiful.font
local interface = args.interface or '*'
local timeout = args.timeout or 1
- local width = args.width or 40
+ local width = args.width or 100
net_speed_widget = wibox.widget {
{