summaryrefslogtreecommitdiffstats
path: root/.config/awesome/rc.lua
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-01-29 17:01:56 +0100
committerGravatar Tom Willemsen2013-01-29 17:01:56 +0100
commit582e8221770ea5514dc04055d5ef4530e9bd4fc2 (patch)
tree0e049dd2aa1da9f36347983f9c7953e1d11b5424 /.config/awesome/rc.lua
parent9b4a888206ed83db7739883ce7ec242633131b4c (diff)
downloaddotfiles-582e8221770ea5514dc04055d5ef4530e9bd4fc2.tar.gz
dotfiles-582e8221770ea5514dc04055d5ef4530e9bd4fc2.zip
awesome: remove titlebars code
Diffstat (limited to '.config/awesome/rc.lua')
-rw-r--r--.config/awesome/rc.lua22
1 files changed, 0 insertions, 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(