spotify-player: add support for actions
Actions were added in the v0.19.1 release.
This commit is contained in:
parent
eea1bc6072
commit
c7cfdb3864
3 changed files with 66 additions and 7 deletions
|
|
@ -1,3 +1,16 @@
|
|||
[[actions]]
|
||||
action = "GoToArtist"
|
||||
key_sequence = "g A"
|
||||
|
||||
[[actions]]
|
||||
action = "GoToAlbum"
|
||||
key_sequence = "g B"
|
||||
target = "PlayingTrack"
|
||||
|
||||
[[actions]]
|
||||
action = "ToggleLiked"
|
||||
key_sequence = "C-l"
|
||||
|
||||
[[keymaps]]
|
||||
command = "NextTrack"
|
||||
key_sequence = "g n"
|
||||
|
|
|
|||
|
|
@ -87,6 +87,22 @@
|
|||
key_sequence = "q";
|
||||
}
|
||||
];
|
||||
|
||||
actions = [
|
||||
{
|
||||
action = "GoToArtist";
|
||||
key_sequence = "g A";
|
||||
}
|
||||
{
|
||||
action = "GoToAlbum";
|
||||
key_sequence = "g B";
|
||||
target = "PlayingTrack";
|
||||
}
|
||||
{
|
||||
action = "ToggleLiked";
|
||||
key_sequence = "C-l";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
test.stubs.spotify-player = { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue