diff options
Diffstat (limited to 'config.dot/awesome.link/wibar.lua')
-rw-r--r-- | config.dot/awesome.link/wibar.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.dot/awesome.link/wibar.lua b/config.dot/awesome.link/wibar.lua index 41eafd8..65f5a89 100644 --- a/config.dot/awesome.link/wibar.lua +++ b/config.dot/awesome.link/wibar.lua @@ -93,6 +93,13 @@ awful.screen.connect_for_each_screen(function(s) -- Create the wibox s.mywibox = awful.wibar({ position = "top", screen = s }) + -- Network widgets + net_wireless = net_widgets.wireless({interface="wlan0"}) + net_wired = net_widgets.indicator({ + interfaces = {"eth0"}, + timeout = 5, + }) + -- Add widgets to the wibox s.mywibox:setup { layout = wibox.layout.align.horizontal, @@ -109,6 +116,8 @@ awful.screen.connect_for_each_screen(function(s) powerline_widget, --mytextclock, --s.mylayoutbox, + --net_wireless, + --net_wired, wibox.widget.systray(), }, } |