X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b52718f9143ea84d9f5c511664a1c5ec335cac6f..41a01ab5953ca44e2bca83e991b8b4bad53bd786:/awesome/topbar.lua diff --git a/awesome/topbar.lua b/awesome/topbar.lua index e40b474..0e413e5 100644 --- a/awesome/topbar.lua +++ b/awesome/topbar.lua @@ -3,13 +3,13 @@ local utils = require("utils") -- Widget and layout library local wibox = require("wibox") +local net_widgets = require("net_widgets") -- Create a textclock widget -mytextclock = awful.widget.textclock(" %a %b %d, %k:%M ", 10) separator = wibox.widget.textbox() separator:set_markup('│') --- {{{ Wibox +-- Wibox {{{1 -- Create a wibox for each screen and add it mywibox = {} mypromptbox = {} @@ -97,7 +97,9 @@ for s = 1, screen.count() do right_layout:add(require("widgets/battery_widget")) end right_layout:add(separator) - right_layout:add(mytextclock) + right_layout:add(net_widgets.wireless({interface='wlp3s0'})) + right_layout:add(separator) + right_layout:add(require("widgets/calendar")) right_layout:add(mylayoutbox[s]) -- Now bring it all together (with the tasklist in the middle) @@ -108,4 +110,3 @@ for s = 1, screen.count() do mywibox[s]:set_widget(layout) end --- }}}