-
Notifications
You must be signed in to change notification settings - Fork 48
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
Type Numerical Action #213
base: main
Are you sure you want to change the base?
Conversation
@fdw please look at my PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the wait!
Looking good so far, just some smaller comments left.
@@ -57,7 +57,7 @@ You can configure `rofimoji` either with cli arguments or with a config file cal | |||
|
|||
| long option | short option | possible values | default value | description | | |||
|-------------------------------------------------------------------------------------------------------------------------|--------------|----------------------------------------------------------------------------------------------------------------|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | |||
| `--action` | `-a` | `type`, `copy`, `clipboard`, `unicode`, `copy-unicode`, `print`, `menu` | `type` | Choose what `rofimoji` should do with the selected characters. See [Actions](#actions) below for details. | | |||
| `--action` | `-a` | `type`, `type-numerical`, `copy`, `clipboard`, `unicode`, `copy-unicode`, `print`, `menu` | `type` | Choose what `rofimoji` should do with the selected characters. See [Actions](#actions) below for details. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not as important as copy
; I'd move it after clipboard
.
dest="keybinding_type_numerical", | ||
action="store", | ||
type=str, | ||
default="Alt+n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think this is used often enough to warrant a default keybinding?
"--sync", | ||
active_window, | ||
"key", | ||
"--clearmodifiers", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be something like key ctrl+shift+u type codepoints
without the loop.
Added a
type-numerical
action to rofimoji that uses the typer to typeCtrl+Shift+U+<unicode>
to enter an emoji by its unicode codepoint directly.I still need help implementing the typer functions. I don't have the compositor for wtype, so I just guessed how it works and din't test it properly