Setting window properties when executing programs in Lua #15032
Unanswered
PlasmaMiasma
asked this question in
Feature requests - Window management
Replies: 1 comment
-
|
This has existed for years https://wiki.hypr.land/Configuring/Basics/Dispatchers/#executing-with-rules |
Beta Was this translation helpful? Give feedback.
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.
-
In autostart, binds, and with hyprctl, I want to see native functionality of running a program as float/tile or pin on a specified workspace regardless of existing window rules.
This worked in hyprlang (with what I consider a workaround) by creating a temporary window rule, such as in a script:
Currently in Lua, an adaptation of the above script, which also requires specifying the workspace, doesn't work in autostart, and, depending in the approach, works unexpectedly after hyprland starts. Because a window rule can't be removed, only disabled, I would expect that creating a window rule with the same name as an existing window rule would replace the existing rule but it doesn't, but there's a janky workaround:
A script seems to be necessary because what the wiki indicates doesn't work:
Beta Was this translation helpful? Give feedback.
All reactions