-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
aerospace: fix on-window-detected #1168
base: master
Are you sure you want to change the base?
aerospace: fix on-window-detected #1168
Conversation
44a46ea
to
0a3df54
Compare
Would be nice to land this! Is there anything I can do to help? |
actually had no idea how to speed things up, this is my first time contributing this repo. |
@@ -71,9 +85,17 @@ in | |||
description = "Default orientation for the root container."; | |||
}; | |||
on-window-detected = lib.mkOption { | |||
type = listOf str; | |||
type = listOf (attrsOf (either callbackConf (listOf callbackConf))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better with types.listOf (types.attrsOf types.anything)
Ideally we would be able to type this better, but I'm not familiar with Aerospace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is cleaner indeed :) just pushed the changes
7f5231c
to
8259566
Compare
I don't really have any idea how the fix is being managed really :) |
@talhaHavadar my bad. I linked the wrong pr by mistake 😓 . Here is the correct pr #1208 |
This fixes the issue #1142
I am not proficient in nix so I tried to create a sort of generic type, it might be too broad in this case but this fixes the Aerospace crash issue due to incorrect typing.