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

Use hs.hotkey.modal for modals, a bugfix, and some code cleanup #9

Open
wants to merge 42 commits into
base: v1.2
Choose a base branch
from

Commits on Nov 10, 2018

  1. housekeeping

    - titleCase, round, frontmost… to locals (we don't need to pollute the global namespace)
    - some indentation and documentation fixes
    - and some minor cleanup to satisfy the lauc linter (line length, trailing whitespace)
    matthewfallshaw committed Nov 10, 2018
    Configuration menu
    Copy the full SHA
    d538d01 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2018

  1. Configuration menu
    Copy the full SHA
    fa6245c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bfcb79 View commit details
    Browse the repository at this point in the history
  3. Use hs.hotkey.modal for ← + → and ↑ + ↓ double taps,

    and retire watchers & etc. that are no longer needed.
    Extend double tap behaviour to move & resize states.
    matthewfallshaw committed Nov 11, 2018
    Configuration menu
    Copy the full SHA
    f3e19fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5bf7b66 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a29b54 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2018

  1. bugfix: sometimes double tapping opposing directions to grow to full …

    …width/height
    
    didn't quite register; first entering the modal, then performing the action seems
    to fix this.
    matthewfallshaw committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    45723ed View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2018

  1. Configuration menu
    Copy the full SHA
    99a9efe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6ab1bf View commit details
    Browse the repository at this point in the history
  3. minor: cleanup

    matthewfallshaw committed Nov 15, 2018
    Configuration menu
    Copy the full SHA
    8d69f9c View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2018

  1. Configuration menu
    Copy the full SHA
    401d875 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    110436c View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2019

  1. Update README.md

    miromannino committed Jan 27, 2019
    Configuration menu
    Copy the full SHA
    e8ba980 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    miromannino committed Jan 27, 2019
    Configuration menu
    Copy the full SHA
    9f3ee07 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2019

  1. Add move and grow methods to move and grow (or shrink) windows

    Major changes:
    - add `move` and `grow` methods to move and grow (or shrink) windows
    - fullscreen starts by centering the window, then proceeds through the
      sequence
    Minor changes:
    - update hs.grid when obj.GRID changes, making obj:init() unnecessary
    - forget obj._pressed state after a second (with move & grow changes I
      found myself wanting to shift modifier keys without releasing them,
      this means I can just pause)
    - refactor code to make it easier (for me) to understand
    - tweak the documentation a little
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    c5e86be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a6c82f View commit details
    Browse the repository at this point in the history
  3. bugfixes:

    handle repeated sizes in sizes and fullscreenSizes, 'c' sizes when there is nothing stored, and some other edge cases.
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    7a600c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f057a98 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c05116e View commit details
    Browse the repository at this point in the history
  6. Pressing both directions while moving should also maximise

    (as it does going or growing)
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    ebc35bd View commit details
    Browse the repository at this point in the history
  7. Add Center method

    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    58bc888 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c736d7d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6c52e3a View commit details
    Browse the repository at this point in the history
  10. Update MiroWindowsManager.spoon/init.lua

    move
    miromannino authored and matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    ffad0d8 View commit details
    Browse the repository at this point in the history
  11. fullscreen fixes

    miromannino authored and matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    f6af7e4 View commit details
    Browse the repository at this point in the history
  12. fullscreen completed

    miromannino authored and matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    32ba464 View commit details
    Browse the repository at this point in the history
  13. resize

    miromannino authored and matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    171b3c2 View commit details
    Browse the repository at this point in the history
  14. fixes and refactoring

    miromannino authored and matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    fafbbd9 View commit details
    Browse the repository at this point in the history
  15. housekeeping

    - titleCase, round, frontmost… to locals (we don't need to pollute the global namespace)
    - some indentation and documentation fixes
    - and some minor cleanup to satisfy the lauc linter (line length, trailing whitespace)
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    221bbf7 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    159763f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4b32708 View commit details
    Browse the repository at this point in the history
  18. Use hs.hotkey.modal for ← + → and ↑ + ↓ double taps,

    and retire watchers & etc. that are no longer needed.
    Extend double tap behaviour to move & resize states.
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    295480b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c74f2f9 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    e274aef View commit details
    Browse the repository at this point in the history
  21. bugfix: sometimes double tapping opposing directions to grow to full …

    …width/height
    
    didn't quite register; first entering the modal, then performing the action seems
    to fix this.
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    dcf1eaf View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9e5de9b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    dee6c44 View commit details
    Browse the repository at this point in the history
  24. minor: cleanup

    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    dcb3ffc View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    29fcc3c View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    887b6f7 View commit details
    Browse the repository at this point in the history
  27. Merge branch 'master' of github.com:matthewfallshaw/miro-windows-manager

    * 'master' of github.com:matthewfallshaw/miro-windows-manager: (26 commits)
      Sticky sides (optionally stick to a bound side when shrinking windows).
      HS docs are broken and can't do word wrapping. [sad face]
      minor: cleanup
      bugfix: support holding move keys to keep moving or growing
      bugfix: support non-arrow keys as moving keys
      bugfix: sometimes double tapping opposing directions to grow to full width/height didn't quite register; first entering the modal, then performing the action seems to fix this.
      bugfix: don't let our fullscreen originalPositionStore get garbagecollected.
      minor: cleanup, docs & logging
      Use `hs.hotkey.modal` for `← + →` and `↑ + ↓` double taps, and retire watchers & etc. that are no longer needed. Extend double tap behaviour to move & resize states.
      bugfix: don't force windows from higher or lefter screens onto the primary screen
      Use hs.hotkey.modal for modal move & resize
      housekeeping - titleCase, round, frontmost… to locals (we don't need to pollute the global namespace) - some indentation and documentation fixes - and some minor cleanup to satisfy the lauc linter (line length, trailing whitespace)
      fixes and refactoring
      resize
      fullscreen completed
      fullscreen fixes
      Update MiroWindowsManager.spoon/init.lua
      first cleanup and refactorings
      `cancel_press` as `releasedfn` (keyup) for moves (prevents `growFully` on direction change).
      Add Center method
      ...
    matthewfallshaw committed Mar 2, 2019
    Configuration menu
    Copy the full SHA
    9b0875e View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. update docs

    matthewfallshaw committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    fb9ac6f View commit details
    Browse the repository at this point in the history