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

executing with rules on other program #8949

Open
littleblack111 opened this issue Jan 4, 2025 · 2 comments
Open

executing with rules on other program #8949

littleblack111 opened this issue Jan 4, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@littleblack111
Copy link
Contributor

Description

for example i have this exec that launches a floating window:

[float; size 40% 40%; workspace +0] program

this would work if the program created the window it's self, but for example, thunar have --daemon, then thunar with those rules wouldn't work as the windows are opened by the daemon. other applications with similar logics includes alacritty, ghostty(ghostty-org/ghostty#2442) etc

so a solution i thought of to this is to temporarily set the rules on another program(user specified)

@littleblack111 littleblack111 added the enhancement New feature or request label Jan 4, 2025
@vaxerski
Copy link
Member

vaxerski commented Jan 4, 2025

with a daemon I fail to see how we could handle that (other than, well, windowrules)

@littleblack111
Copy link
Contributor Author

with a daemon I fail to see how we could handle that (other than, well, windowrules)

Because the window rule applied to the client which just told the demand to spawn a window instead of spawning a window it's self, but the demon isn't affected by the window rule as the demon isn't launched with those rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants