mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #428] Remap key to key combination #1169
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1169
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @repparw on GitHub (Apr 23, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/428
I'm thinking how to bind y to the equivalent of 'a 5'. So, current song, copy link.
I think either having it so you can bind to a sequence of commands, or bind a key to a sequence of keys would be nice.
Something like
keymaps
command = "ShowActionsOnCurrentTrack; CopyTrackLink"
key_sequence = "y"
or
keymaps
command = "a 5" // maybe a different name instead of command? idk
key_sequence = "y"
@aome510 commented on GitHub (Apr 24, 2024):
It's better to define a separate mapping for actions, for example
@repparw commented on GitHub (Jul 29, 2024):
I just started to take a look at the actions! Nice one.
Unfortunately it seems it still doesnt allow to implement the example I gave? I can only for example copy the link of the current selection. I can't do the equivalent of 'a 5' right now.
I'd need to go to currently playing context and select the song I'm playing for example and then use the CopyLink action.
Unless I'm getting something wrong?
@aome510 commented on GitHub (Jul 29, 2024):
Yeah, you're right. The current action only works on currently selected item. We can update
actionkeymap to also support currently playing track, which can be configured by a new fieldActionTypecc @juliamertz is this something you're interested in working on as a follow-up?
@juliamertz commented on GitHub (Aug 4, 2024):
Doesn't look like this would be too much work, i'll take a look at it when i get some time
@aome510 commented on GitHub (Aug 4, 2024):
Great, thank you!