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

conditional: Screen+Desk is not mutually-exclusive #895

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Commits on Aug 31, 2023

  1. conditional: Screen+Desk is not mutually-exclusive

    When a conditional has both screen and desk in, such as:
    
        All (Screen HDMI-1, Desk 0) Echo "$[w.name]"
    
    the previous logiv was to treat those options as mutually exclusive --
    hence, one or the other would match, but never both.
    
    This commit fixes this by checking for both conditions if they're
    present, otherwise defaulting to treating them separately if only one of
    them appears.
    
    Fixes #741
    ThomasAdam committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f434cb1 View commit details
    Browse the repository at this point in the history