Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
i3bar feature request: x/y co-ordinates relative to module output #2767
Currently i3bar's click events provide
It would be useful to have
This would allow a new level of interactivity, e.g., a volume module setting the volume to
Maybe even better would be the x, y of the current implementation, the x, y of the block (in reference to root), and the width and height. That way you can easily calculate relative_x (block_x-click_x) and relative_y, fractions, and you could even start applications that are aligned with the block. So if I clicked eg. a date/time block I could create a calendar window aligned with the block. To keep it aligned however the user would obviously need to set a monospace font lest the bar would change below the window.