From 582e8221770ea5514dc04055d5ef4530e9bd4fc2 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 29 Jan 2013 17:01:56 +0100 Subject: [PATCH] awesome: remove titlebars code --- .config/awesome/rc.lua | 22 ---------------------- 1 file changed, 22 deletions(-) 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(