spotify-player: add support for actions

Actions were added in the v0.19.1 release.
This commit is contained in:
diniamo 2024-09-29 14:55:46 +02:00 committed by Robert Helgesson
parent eea1bc6072
commit c7cfdb3864
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
3 changed files with 66 additions and 7 deletions

View file

@ -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"

View file

@ -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 = { };