summaryrefslogtreecommitdiff
path: root/awesome/widgets/ram.lua
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2024-10-11 20:43:20 -0500
committerTim Keller <tjk@tjkeller.xyz>2024-10-11 20:43:20 -0500
commitce020ab718b0ea09224dd15fc9a5796b3acc7904 (patch)
tree5d1ab3fb93f85d6fbf1b9fe84dfcd3484ce6ef33 /awesome/widgets/ram.lua
parent5e84a09eb67772b07a73102538d2445ecb403613 (diff)
downloaddotconfig-ce020ab718b0ea09224dd15fc9a5796b3acc7904.tar.xz
dotconfig-ce020ab718b0ea09224dd15fc9a5796b3acc7904.zip
overhaul awesome
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)