-
Notifications
You must be signed in to change notification settings - Fork 184
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
Option to only apply the icon to one monitor? #73
Comments
Hello, I'm working on support for dual monitors and would like to see it in the master branch. I just haven't figured out how to handle the light/dark detection and maybe using multiple processes for image manipulations. Would you be interested in seeing the icon/text on all connected monitors? |
I'll try my hands on this, once #84 is merged. Does anyone know how to determine the xinerama monitor indices from xrandr? |
Worst case, we can reuse the code in xinerama.h to reliably get the same output as i3lock. So far, it seems to be in left to right order, I think (probably ordered somehow off of the offsets) |
Yeah, but that would mean we would either need to add a component that needs to be compiled to this project or build a command line wrapper for xinerama, which would add another external dependency. For now I think, we can just add a parameter where the user has to provide the monitor number and that will then be passed to i3lock |
I could possibly do something like |
That would be great. I haven't looked too hard at |
Moving that to i3lock-color means more functionality wouldn't be available with regular i3lock though. |
Normal i3lock can't display the unlock indicator on a specific monitor anyways. |
Yeah, normal i3lock just tosses it on every monitor. It's already something that isn't in regular i3lock, so I may as well add some easily grep-able output that can be used. Ideally I'll be able to just dump a mapping of HDMI-1 -> display 1, DVI-D-1 -> display 0, etc, but I haven't taken a stab at it yet, so I'll see next weekend after I'm done travelling. |
How has this progressed? |
As I said before, I will work on this feature once #87 gets merged. This may take a while since everyone is very busy. If you want you can try to use my multimonitor branch, on which that pull-request is based. While it will not display the lock on one monitor only, it will display the locks on the center of each monitor. I would appreciate the feedback since I could only test it on my dualmonitor setup, please post any comments about that directly on the pull-request. |
@patrick96 Cloned your repo, and installed i3lock-fancy-git from AUR. |
Did you checkout the multimonitor branch? |
Well there was the issue, working perfectly for what I need. Thank you |
Yes, I think having the icon and text message on the first monitor makes sense as an option. I think the lock should either do that, or have it on all monitors. |
Hi,
I was just wondering if the master branch could have an option to only overlay the icon on one monitor? That way, when I use my laptop with my external monitor as well as on the go the result is the same. Right now on the master branch version the icon goes in the middle.
Not sure if this is possible or not.
Thanks!
The text was updated successfully, but these errors were encountered: