|
|
@ -75,7 +75,16 @@ awful.screen.connect_for_each_screen(function(s) |
|
|
|
layout = wibox.layout.align.horizontal, |
|
|
|
{ -- Left widgets |
|
|
|
layout = wibox.layout.fixed.horizontal, |
|
|
|
require("core.widgets.menu_launcher"), |
|
|
|
{ |
|
|
|
{ |
|
|
|
require("core.widgets.menu_launcher"), |
|
|
|
widget = wibox.container.place, |
|
|
|
halign = "center" |
|
|
|
}, |
|
|
|
bg = "#26262633", |
|
|
|
widget = wibox.container.background, |
|
|
|
forced_width = require("beautiful.xresources").apply_dpi(61), |
|
|
|
}, |
|
|
|
--require("widgets.polylauncher")({vertical = false}), |
|
|
|
--s.mytaglist, |
|
|
|
s.mypromptbox, |
|
|
@ -88,14 +97,16 @@ awful.screen.connect_for_each_screen(function(s) |
|
|
|
}, |
|
|
|
-- Middle widget |
|
|
|
{ |
|
|
|
widget = wibox.container.background |
|
|
|
--[[require("widgets.polytasklist")({ |
|
|
|
vertical = false, |
|
|
|
stretch = false, |
|
|
|
constraint = 180, |
|
|
|
names = true, |
|
|
|
margins = 5 |
|
|
|
})(s),]] |
|
|
|
layout = wibox.layout.fixed.horizontal |
|
|
|
}, |
|
|
|
{ -- Right widgets |
|
|
|
wibox.widget.textclock(), |
|
|
|
{ |
|
|
|
widget = wibox.container.background, |
|
|
|
forced_width = (math.abs(s.geometry.width/2)-200) |
|
|
|
}, |
|
|
|
layout = wibox.layout.fixed.horizontal, |
|
|
|
awful.widget.keyboardlayout(), |
|
|
|
require("widgets.wallpapers")({ |
|
|
@ -119,7 +130,13 @@ awful.screen.connect_for_each_screen(function(s) |
|
|
|
} |
|
|
|
}), |
|
|
|
require("widgets.battery")({ |
|
|
|
percentage = false, |
|
|
|
percentage = true, |
|
|
|
style = { |
|
|
|
icon_bg_normal = beautiful.topbar_bg |
|
|
|
} |
|
|
|
}), |
|
|
|
wibox.widget.textclock(), |
|
|
|
require("widgets.username")({ |
|
|
|
style = { |
|
|
|
icon_bg_normal = beautiful.topbar_bg |
|
|
|
} |
|
|
|