New lua config, layout: ignoring "unsupported" layoutmsg #14237
|
Hello. In the old config (hyprlang) it was possible to have such binds these worked only in the scrolling layout, but did nothing in others. I could swear I saw information on the Wiki, that if the current layout doesn't support such messages it simply ignores them. And it used to work. Now, as I'm gradually moving to the new lua config, I've found that this code hl.bind(_kb(mod, "CTRL + right"),
hl.dsp.layout("focus r"),
{ description = "Move the focus to right and center the layout" }
)
hl.bind(_kb(mod, "CTRL + left"),
hl.dsp.layout("focus l"),
{ description = "Move the focus to left and center the layout" }
)
hl.bind(_kb(mod, "CTRL + up"),
hl.dsp.layout("focus u"),
{ description = "Move the focus to right and center the layout" }
)
hl.bind(_kb(mod, "CTRL + down"),
hl.dsp.layout("focus d"),
{ description = "Move the focus to right and center the layout" }
)causes a warning, or actually an error, if run in the terminal like this Is there a way to ignore such "errors"? |
Answered by
vp1981
May 3, 2026
Replies: 1 comment 8 replies
|
what's the error? I don't get any. |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the record, now I use the following: