Replies: 2 comments
|
Not the same problem, but probably related (at least to the 'solution' in #12910). As far as I can see, there is no equivalent of I had a custom bash script that used to parse Currently, I see no direct way of achieving the same with the Lua API. I imagine, one could tabulate disabled/mirrored monitors in a custom variable and append this collection to Or am I missing something here? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I want to make a toggle where I can mirror my laptop display to an external monitor. I thought that this can be implemented with two options, either with a boolean variable for every time I toggled it or check if a monitor is mirrored or not with the Lua API.
Implementing it with the Lua API, I expect when the external monitor is mirrored, using hl.get_monitor(HL.Monitor.id) would not return nil, but it does.
With that condition, the HL.Monitor.is_mirror function is pretty much useless, as you never know if a monitor is mirrored or not because it's not available when calling the hl.get_monitor(HL.Monitor.id).
Searching through the discussions, the only thing thath came up is this #12910, which is before the Lua-ification
Is it intended, is it still work in progress, or is it gonna be removed?
All reactions