From ce020ab718b0ea09224dd15fc9a5796b3acc7904 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Fri, 11 Oct 2024 20:43:20 -0500 Subject: overhaul awesome --- awesome/widgets/ram.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'awesome/widgets/ram.lua') 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) -- cgit v1.2.3