diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index d218821..565023c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -353,28 +353,6 @@ client.connect_signal( awful.placement.no_offscreen(c) end end - - local titlebars_enabled = false - if titlebars_enabled - and (c.type == "normal" or c.type == "dialog") then - -- Widgets that are aligned to the left - local left_layout = wibox.layout.fixed.horizontal() - left_layout:add(awful.titlebar.widget.iconwidget(c)) - - -- Widgets that are aligned to the right - local right_layout = wibox.layout.fixed.horizontal() - - -- The title goes in the middle - local title = awful.titlebar.widget.titlewidget(c) - - -- Now bring it all together - local layout = wibox.layout.align.horizontal() - layout:set_left(left_layout) - layout:set_right(right_layout) - layout:set_middle(title) - - awful.titlebar(c):set_widget(layout) - end end) client.connect_signal(