scottwhudson / Lunette

Zero-Config Spectacle Keybindings for Hammerspoon
MIT License
80 stars 19 forks source link

Adds 3/4ths widths on Left and Right half operations #14

Closed Jon-Schneider closed 1 year ago

Jon-Schneider commented 3 years ago

I don't think this is ready to merge as-is but I thought I'd put it here for discussion. This is a customized Lunette I use that adds a 3/4ths size to the R/L halves operations. This may not be desirable to back into the main line, but I personally would find it extremely useful to have 3/4ths widths on the halves (or some other) operations.

Possible thoughts on bringing this idea in:

  1. Could merge as-is. The half operations are already overloaded with 1/3rd and 2/3ds operations anyway.
  2. Could merge as-is, with 3/4ths support behind a bool.
  3. I could add quarters to the halves operation since it seems unbalanced to offer 3/4ths but not 1/4ths.
  4. I could remove this from halves, and add a quarters operation that does 1/4, 1/2, and 3/4 or even 1/4, 1/3, 1/2, 2/3, and 3/4. In the latter case I think it would need a better name than quarters. Maybe the best choice is to add a "thirds" operation that is just 1/3rd and 2/3rds, a "quarters" operation, with 1/4, 1/2, and 3/4ths, and a "slices" operation with all 5 of these widths.

Thoughts? I'm leaning toward the last, adding "quarters", "thirds", and "slices" operations.