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

expand: add monitor.prev variable #699

Merged
merged 1 commit into from
Sep 18, 2022
Merged

expand: add monitor.prev variable #699

merged 1 commit into from
Sep 18, 2022

Commits on Sep 18, 2022

  1. expand: add monitor.prev variable

    Add a new monitor variable -- $[monitor.prev] which prints the
    previously focused monitor.
    
    This is tracked via focus based on windows -- so if no window on a
    particular monitor has ever been focused, even if the pointer has moved
    to its root window, there will be no such value associated with
    $[monitor.prev]'s expansion.
    
    If $[monitor.prev] does not contain a monitor, the empty string is
    printed in its place.
    ThomasAdam committed Sep 18, 2022
    Configuration menu
    Copy the full SHA
    fc814f7 View commit details
    Browse the repository at this point in the history