From 025d2e1ad55bb1e3fbb52d6c39771729e6375122 Mon Sep 17 00:00:00 2001 From: mutlusun Date: Fri, 23 Aug 2019 10:51:15 +0200 Subject: [PATCH] added type to environmet where missing --- widgets/fanspeed_freebsd.lua | 1 + widgets/mpd_all.lua | 2 +- widgets/thermal_freebsd.lua | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/widgets/fanspeed_freebsd.lua b/widgets/fanspeed_freebsd.lua index 5be26ef..e55a51f 100644 --- a/widgets/fanspeed_freebsd.lua +++ b/widgets/fanspeed_freebsd.lua @@ -1,6 +1,7 @@ -- {{{ Grab environment local helpers = require("vicious.helpers") local tonumber = tonumber +local type = type -- }}} diff --git a/widgets/mpd_all.lua b/widgets/mpd_all.lua index 4c2f524..e8a5afd 100644 --- a/widgets/mpd_all.lua +++ b/widgets/mpd_all.lua @@ -6,7 +6,7 @@ -- {{{ Grab environment local tonumber = tonumber local math = { floor = math.floor } - +local type = type local helpers = require"vicious.helpers" local spawn = require"vicious.spawn" -- }}} diff --git a/widgets/thermal_freebsd.lua b/widgets/thermal_freebsd.lua index c550f1a..8979822 100644 --- a/widgets/thermal_freebsd.lua +++ b/widgets/thermal_freebsd.lua @@ -1,6 +1,7 @@ -- {{{ Grab environment local string = { match = string.match } local helpers = require("vicious.helpers") +local type = type -- }}}