Lots of changes (see description) #21
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This repository does not seem to be maintained any more. However, since I have been maintaining my own version of snaptile, I figured I'd open a PR for all my changes, in case anyone stumbles upon this and wants to use the fixes + features I have implemented, even if this PR is never merged.
After this short disclaimer, now for the content of this PR:
kill <pid>)Fill mode
This mode can be enabled with the
-fswitch; if enabled, double pressing the key for a single tile greedily fills as many tiles around this one as possible without overlapping other windows. Windows already intersecting the tile itself are ignored. For example, in the gridif
6contains another window and9is pressed twice, the window will span9to12. If 11 also contains another window, however,1to9will be chosen (since that spans 3 tiles, as opposed to only 2 for9to10).