X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4ab70828c947be1e0367ba6fcb017802d6589b9a..d88c507b0c8f204b82702693a249bf1b88c342e9:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index eea23d6..e6fa423 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -5,10 +5,12 @@ local utils = require("utils") local wibox = require("wibox") -- my widgets -local volume_widget = require("widgets/volume_widget") +local volume_widget = require("widgets/volume_widget") if utils.host == "chronos" then local battery_widget = require("widgets/battery_widget") end +local network_widget = require("widgets/network_widget") + -- Create a textclock widget mytextclock = awful.widget.textclock() @@ -92,6 +94,7 @@ for s = 1, screen.count() do -- Widgets that are aligned to the right local right_layout = wibox.layout.fixed.horizontal() if s == 1 then right_layout:add(wibox.widget.systray()) end + right_layout:add(network_widget) right_layout:add(volume_widget) if utils.host == "chronos" then right_layout:add(battery_widget)