Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have different title for the various windows. #66

Closed
PTNobel opened this issue Jul 2, 2015 · 2 comments
Closed

Have different title for the various windows. #66

PTNobel opened this issue Jul 2, 2015 · 2 comments

Comments

@PTNobel
Copy link

PTNobel commented Jul 2, 2015

I'm trying to write a python script that uses i3-msg to move the pdfpc windows to various outputs, however I have no way of knowing which window is which (from the script). Could you change the value of the title?

For example make one title 'pdfpc - Presenter' and 'pdfpc - Projector'. Or at least make it a command line option?

@AndreasBilke
Copy link
Member

Both windows have a property named "role", I don't know if it is possible
to get this role from a window but if you can, you can distinguish both
windowes that way.

On Wed Jul 01, 2015 at 10:47:55PM -0700, P. Nobel wrote:

I'm trying to write a python script that uses i3-msg to move the pdfpc windows to various outputs, however I have no way of knowing which window is which (from the script). Could you change the value of the title?

For example make one title 'pdfpc - Presenter' and 'pdfpc - Projector'. Or at least make it a command line option?


Reply to this email directly or view it on GitHub:
#66

@rschroll
Copy link
Contributor

rschroll commented Jul 2, 2015

This seems like a reasonable thing to do. It should be easy to
implement, and I don't see any downside.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants