-
Notifications
You must be signed in to change notification settings - Fork 71
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
windows.fnl: simply sequence of remove-monitor-items + add-monitor-items -> set-monitor-items #204
Conversation
…ems -> set-monitor-items
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.
Looks fine to me, but I am not familiar with this functionality.
windows.fnl
Outdated
@@ -483,15 +472,13 @@ | |||
Takes modal menu table-map | |||
- Hides any previous display numbers | |||
- Shows display numbers at top right of each screen | |||
- Removes previous monitor items if any were added | |||
- Adds monitor items based on currently connected monitors | |||
- sets monitor items based on currently connected monitors |
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.
Nit caps
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.
Sorry, I think I know what you mean.. but I'm lost as to what "nit" means in this context. Would you mind explaining?
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.
means that I am nitpicking
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.
As in the PR is fine, but I am trying to fix tiny things.
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.
got it. Thank you!
Thanks for your contribution! |
and thank you for taking the time to review and look through things! |
remove-monitor-items
andadd-monitor-items
are always run in sequence to basically set the monitor items. Using a single function both simplifies the code, and also makes it more understandable.