Closed pengux closed 1 year ago
Hi @pengux
Unfortunately, I don't think I'll work on this feature at this moment because
I'd be willing to work on this feature if rofi ever gets upstream native wayland support. It doesn't look like this is going to happen anytime soon.
@ayushnix thanks for the reply. Currently, as I understand it, rofi does work with Wayland as I was using it with Sway. And the fork which supports Wayland natively fixes some issues such as clipboard access for me and it seems to be up-to-date with upstream. But even if Wayland support is missing, there are some keybindings that can still be implemented such as copy_name
and copy_pass
for example as it doesn't require xdotool or ydotool. I've also noticed that tools such as rofi-rbw is using wtype
to accomplish autotype in wayland so perhaps that is an option?
rofi does work with Wayland as I was using it with Sway. And the fork which supports Wayland
That's what I meant, the upstream rofi software doesn't support wayland, a fork made by lbonn does.
I've also noticed that tools such as rofi-rbw is using wtype to accomplish autotype in wayland so perhaps that is an option?
tessen uses wtype
to perform autotype operations on sway.
I noticed that wofi also supports custom keybindings. Considering wofi is a wayland native dmenu program, I'm now inclined to support custom keybindings in tessen.
Thanks, I'll try to implement this feature. Meanwhile, if you want to submit a pull request, that'd be welcome as well. Please see the CONTRIBUTING.md if you're interested.
Thanks, I'll try to implement this feature. Meanwhile, if you want to submit a pull request, that'd be welcome as well. Please see the CONTRIBUTING.md if you're interested.
That's great! My knowledge of shell scripts is not good enough for a PR but I'll help test things out if you need it.
Hi, I've implemented this feature in a branch called custom-keybinds
. I'll use this feature for a few days before making a release. Meanwhile, anyone wants to test it, please do and report errors/bugs if any.
Hi, I've implemented this feature in a branch called
custom-keybinds
.
Interesting, can you give an example of how you are using it? It would be nice to have OTP actions mapped too.
Interesting, can you give an example of how you are using it?
I should've documented the feature. 😅
I've mapped exit codes starting from 10 in the following order
You can use dmenu programs like fuzzel, bemenu, and rofi to map these exit codes to whatever shortcuts you like.
It would be nice to have OTP actions mapped too.
Thanks for the suggestion, I'll map this action to exit code 17.
Thanks, I was using tofi, and wasn't aware that the others had that functionality.
The next stable release will promote fuzzel as the default dmenu backend for tessen.
I've mapped autotyping and copying OTP to custom exit codes as well. The v2.2.0 release should probably be out tomorrow.
This feature has now been added in version 2.2.0. Let me know if anyone has any questions or issues using it.
requesting support for key bindings similar to the ones in
rofi-pass
: