[Feature Request]: MOD + ? Open keybinds_hint.sh?
Feature Request
Description
MOD + ? default binding to open the keybinding hint window.
Use Case
As a brand new user of hyprdots, my gut instinct to understand options was to hit MOD + ? to hopefully see what keybindings are available. I'm not sure why I thought that keybinding would work. Maybe I've seen that specific keybinding done elsewhere. After looking around I did find the keyboard icon on the waybar.
Proposed Solution
[If you have a specific solution in mind, describe it here. If not, you can skip this section.]
MOD + ? runs the keybinds_hint.sh
Alternatives
None considered
Additional Information
I completely understand if you don't want to do this one. It is just something I thought of when I first started using hyprdots and thought that if I tried MOD + ?, others may have tried it as well.
Yeah an Keybind for this would be nice
have you tried it?
bind = $mainMod, ?, exec, keybinds_hint.sh -h 80% -w 50% -d # Show keybind hints
Please confirm if this works on your end, maybe we can add it
not working on my end with german layout xkbcli interactive-wayland seat0: keycode [ AE11 ] keysyms [ ssharp ] unicode [ ß ] layout [ German (0) ] level [ 0 ] mods [ ] leds [ ] that's the key for my keyboard bind = $mainMod, ß, exec, keybinds_hint.sh -h 80% -w 50% -d # Show keybind hints doen't works too
propably bind = $mainMod, h, exec, keybinds_hint.sh -h 80% -w 50% -d # Show keybind hints with h for hint?
That one with the '?' doesn't work. I've been using this:
bind = $mainMod SHIFT, code:61, exec, $scrPath/keybinds_hint.sh # Show keybind hints
Unfortunately in the hint window, it doesn't recognize how to deal with the code:61. It shows this:
So maybe MOD + H might be better, but the whole idea for this was to make it more discoverable for new users. I'm not sure if MOD + H would be helpful for new users.
Yeah should work with keycode number.
Can you try question ?
BTW I think it's posible to hardcode key 61 to some symbols.
edit: So by the time of making the keybindhint it is not capable of translating keycode only keys. For now I'm not interested on adding the feature.(This is a lesser priority for now. )
Please checkout this dirty work https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.local/share/bin/keybinds_hint.sh
I tried to add comments for someone who wants to help maintaining it.
Update: Here's the capability to read the keycode. https://github.com/prasanthrangan/hyprdots/pull/1303
That's then code:20 for me xd
Yeah should work with keycode number.
Can you try
question?
Doesn't Work
Oh and any Idea why https://github.com/prasanthrangan/hyprdots/issues/1186#issuecomment-2053693198 doesn't works anymore suddenly?
i've been using mod+alt+k for keybinding hints
I don't actually care about what are the defaults.
But yey we can convert keycodes now
example: keycode:61 is ?
I think I've steered you guys wrong here.
After digging in a bit more on this, it turns out code:61 is for / not for ?. / and ? are on the same key on my keyboard. I was thinking that in the keybinding the SHIFT would modify the next key. But it looks like hyprland swallows/ignores the SHIFT when used in a keybinding? So in reality I was doing a MOD + SHIFT + / instead of the ?.
I did try bind = $mainMod SHIFT, /, exec, $scrPath/keybinds_hint.sh # Show keybind hints, but that didn't work. So that would still need the ability to convert the keycode, but it would actually have to show the / instead of the ?, mostly in case of keyboard layouts when they are not the same key.
I really thought this was a straightforward simple request. I didn't think it would get blown up into this mess. I'd be ok just closing this ticket, or maybe using MOD + h instead of ?. I really like the idea of using the question mark, but it might be more work than it is worth
No problem with that, you just made the script better after you raised this issue.
Also added an option to map the keycode manually ( ke codes are actually tied to some keyboard layout so would be better to map it manually https://www.toptal.com/developers/keycode/table )
Please check the PR #1303
Feature Request
Description
MOD + ? default binding to open the keybinding hint window.
Use Case
As a brand new user of hyprdots, my gut instinct to understand options was to hit MOD + ? to hopefully see what keybindings are available. I'm not sure why I thought that keybinding would work. Maybe I've seen that specific keybinding done elsewhere. After looking around I did find the keyboard icon on the waybar.
Proposed Solution
[If you have a specific solution in mind, describe it here. If not, you can skip this section.] MOD + ? runs the
keybinds_hint.shAlternatives
None considered
Additional Information
I completely understand if you don't want to do this one. It is just something I thought of when I first started using hyprdots and thought that if I tried MOD + ?, others may have tried it as well.
Well this is simple In confs I link it to alt space and the bind is set to Hyde keybinds something like that. I found it like on waybar module for keybinds so I yeah pls implement this
For now it is set to SUPER + slash
For now it is set to
SUPER + slash
@kRHYME7 set it to mod / yes also for upper level keys adding shift suffices. for misc keys like this.