[modules/cmus] Add controls for cmus (next/prev/shuffle/repeat)
Add controls that allow the user to switch to the next and previous song in cmus, toggle shuffle and repeat. Pause/play is toggled by clicking on the song title itself. fixes #5
This commit is contained in:
parent
a33cb1d7cb
commit
dead54ed1f
7 changed files with 82 additions and 7 deletions
|
@ -37,6 +37,18 @@
|
|||
"stopped": {
|
||||
"prefix": " [] "
|
||||
}
|
||||
},
|
||||
"prev": {
|
||||
"prefix": " |< "
|
||||
},
|
||||
"next": {
|
||||
"prefix": " >| "
|
||||
},
|
||||
"shuffle": {
|
||||
"states": { "on": { "prefix": " S " }, "off": { "prefix": " [s] " } }
|
||||
},
|
||||
"repeat": {
|
||||
"states": { "on": { "prefix": " R " }, "off": { "prefix": " [r] " } }
|
||||
}
|
||||
},
|
||||
"pasink": {
|
||||
|
|
|
@ -58,6 +58,18 @@
|
|||
"stopped": {
|
||||
"prefix": " "
|
||||
}
|
||||
},
|
||||
"prev": {
|
||||
"prefix": " "
|
||||
},
|
||||
"next": {
|
||||
"prefix": " "
|
||||
},
|
||||
"shuffle": {
|
||||
"states": { "on": { "prefix": " " }, "off": { "prefix": " " } }
|
||||
},
|
||||
"repeat": {
|
||||
"states": { "on": { "prefix": " " }, "off": { "prefix": " " } }
|
||||
}
|
||||
},
|
||||
"pasink": {
|
||||
|
|
|
@ -59,6 +59,18 @@
|
|||
"stopped": {
|
||||
"prefix": " "
|
||||
}
|
||||
},
|
||||
"prev": {
|
||||
"prefix": " "
|
||||
},
|
||||
"next": {
|
||||
"prefix": " "
|
||||
},
|
||||
"shuffle": {
|
||||
"states": { "on": { "prefix": " " }, "off": { "prefix": " " } }
|
||||
},
|
||||
"repeat": {
|
||||
"states": { "on": { "prefix": " " }, "off": { "prefix": " " } }
|
||||
}
|
||||
},
|
||||
"pasink": {
|
||||
|
|
|
@ -58,6 +58,18 @@
|
|||
"stopped": {
|
||||
"prefix": " [] "
|
||||
}
|
||||
},
|
||||
"prev": {
|
||||
"prefix": " |< "
|
||||
},
|
||||
"next": {
|
||||
"prefix": " >| "
|
||||
},
|
||||
"shuffle": {
|
||||
"states": { "on": { "prefix": " S " }, "off": { "prefix": " [s] " } }
|
||||
},
|
||||
"repeat": {
|
||||
"states": { "on": { "prefix": " R " }, "off": { "prefix": " [r] " } }
|
||||
}
|
||||
},
|
||||
"pasink": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue