-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Workspace Rules with hyprctl (or similar) #9453
Comments
whats the problem with writing a script to output to some config file (e.g. |
Yeah but that's a very hacky solution:
|
Btw why do workspace rules not work with hyprctl? I expected Wait, I just notice that such dynamically created rules are actually listed in |
Okay I guess I can |
No need. If the file is sourced, any changes to it will reload them instantly |
Description
I have a laptop which I
So my workspace rules (that bind the workspaces to monitors etc.) depend on which monitors are connected.
The best way would be if hyprland could support this out of the box. It doesn't, but I thought "well I could code it using the IPC sockets".
But in fact, I can't. Because the IPC (i.e. hyprctl) doesn't allow me to set workspace rules.
So it would be great to have a solution to change the workspace rules on the fly. Either by adding this functionality to IPC. Or, what would also be cool, to generally have an IPC command that says "read that additional config file and execute it". So that one could combine multiple config files. So I have one main big config file, and then I have a couple of additional ones which only contain workspace rules for the monitor/workspace setup.
The text was updated successfully, but these errors were encountered: