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.
I wanted to make a selection via keyboard and added this functionality. I also added some more options like:
-L
): The font-color used for writing the labels and dimensions.-S
): The font-color which is used when an area is selected.-m
): Splits the outputs or the given restricted areas in rows/columns.-l
): Shows the label. The user can press a key and it will select the first match.-g
): You can change the font size with this.-x
): Used code from Crosshairs #95-X
): You can set the crosshair color with this.This is an example how we could make use of this:
And this is how I make use of this (first select the x, y coords and then use swaymsg to click it...like..what if someday the mouse is broken?)
foo.mp4