You are not logged in.
Is it possible to have the title bar for windows appear vertically running up and down the left side of a window in awesome window manger?
Offline
I was a little bit curious about this, and it turns out that you absolutely can. You just need to change the call to awful.titlebar() in the request::titlebars signal handler like so:
awful.titlebar(c, { position = "left" }) : setup {
{ -- Left
awful.titlebar.widget.iconwidget(c),
buttons = buttons,
layout = wibox.layout.fixed.vertical
},
{ -- Middle
{ -- Rotate title text
{ -- Title text
align = "center",
widget = awful.titlebar.widget.titlewidget(c)
},
buttons = buttons,
layout = wibox.layout.flex.vertical
},
widget = wibox.container.rotate,
direction = "east",
},
{ -- Right
awful.titlebar.widget.floatingbutton (c),
awful.titlebar.widget.maximizedbutton(c),
awful.titlebar.widget.stickybutton (c),
awful.titlebar.widget.ontopbutton (c),
awful.titlebar.widget.closebutton (c),
layout = wibox.layout.fixed.vertical()
},
layout = wibox.layout.align.vertical
}Pretty much just explicitly setting the position of the titlebar, changing the layouts to arrange things vertically rather than horizontally, and putting in a rotate container so the title text runs vertically rather than getting wrapped at one character wide.
Offline
Thanks for this Wibjarm. Can I ask how you figured this out? Did you just read the docs or do you look at the source code to see how the LUA scripts are setup?
Offline
I looked through the stock rc.lua (it's in /etc/xdg/awesome if you need it) to see how the titlebars are set up, then checked the docs for awful.titlebar to see if there was any kind of "direction" or "position" argument. The docs for awesome's lua API are really pretty nice most of the time.
Offline