some work on the network manager

This commit is contained in:
Rene Kievits
2022-12-14 00:04:45 +01:00
parent 44836685ec
commit 4f3fb75687
10 changed files with 258 additions and 451 deletions

View File

@@ -19,7 +19,7 @@ return function(s)
elseif widget == "Clock" then
table.insert(widget_table, require("src.widgets.clock")())
elseif widget == "Cpu Frequency" then
table.insert(widget_table, require("src.widgets.cpu_info")("freq", User_config.cpu_frequency))
table.insert(widget_table, require("src.widgets.cpu_info")("freq"))
elseif widget == "Cpu Temperature" then
table.insert(widget_table, require("src.widgets.cpu_info")("temp"))
elseif widget == "Cpu Usage" then
@@ -35,7 +35,7 @@ return function(s)
elseif widget == "Tiling Layout" then
table.insert(widget_table, require("src.widgets.layout_list")())
elseif widget == "Network" then
table.insert(widget_table, require("src.widgets.network")())
table.insert(widget_table, require("src.widgets.network") { screen = s })
elseif widget == "Power Button" then
table.insert(widget_table, require("src.widgets.power")())
elseif widget == "Ram Usage" then

View File

@@ -55,7 +55,6 @@ return function(s, w)
bg = Theme_config.right_bar.bg,
visible = true,
screen = s,
maximum_width = dpi(650),
placement = function(c) awful.placement.top_right(c, { margins = dpi(10) }) end
}