summaryrefslogtreecommitdiff
path: root/awesome/widgets/ram.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awesome/widgets/ram.lua')
-rw-r--r--awesome/widgets/ram.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/awesome/widgets/ram.lua b/awesome/widgets/ram.lua
index 2347ca4..44ab314 100644
--- a/awesome/widgets/ram.lua
+++ b/awesome/widgets/ram.lua
@@ -1,6 +1,5 @@
local wibox = require("wibox")
local widgets = require("util.widgets")
-local osname = require("util.osname")
function linux_ram_usage(widget)
@@ -27,7 +26,6 @@ function linux_ram_usage(widget)
widget:set_text(math.floor(used))
end
-
-- return correct widget for os
if osname == "Linux" then
return widgets.watchfn(linux_ram_usage, 5)