Hi there,

I am wondering (as a feature request) about an option to have the
title bar of a window at the bottom of the window, instead of as the
top.

If this isn't suitable for being included in i3, I was wondering about
patching it for my own copy. I have looked in the x_draw_decoration
function in src/x.c, but I'm not sure how to proceed. In particular,
I'm not sure how to get the correct dimensions to draw the bar when
initialising the xcb_rectangle_t---currently it looks like this:
  xcb_rectangle_t drect = { con->deco_rect.x, con->deco_rect.y,
    con->deco_rect.width, con->deco_rect.height };
  cb_poly_fill_rectangle(conn, parent->pixmap, parent->pm_gc, 1, &drect);

In case you're wondering why I want to do such a strange thing...I
like to set the title of my xterm to contain ephemeral information,
such as hostname, git status, and various other things. I dislike long
and complicated prompts, so I put this information in the title
instead. But, the title is at the top of the screen, whereas the
prompt of my xterm is at the bottom. I'd like to have the title bar
just underneath my prompt, i.e. at the bottom of the window.

cheers

-- 
Kareem

Reply via email to